Local jndi lookup - present in 1 appln, lookup in 2nd appln (same server)
Hi,
I have deployed 2 applications ( A.ear, B.ear ) on the same server.
There is ejb( has only local interface no remote interface ) which is present in A.ear.
Now I want to do a local jndi lookup of the ejb in 2nd application (B.ear )
Can we do this in weblogic ? Any ideas
I have an annotation like this in the ejb :
@Stateless(name = "DisConfigManager", mappedName = "DisConfigManagerImpl")
@Local
Regards,
Harsha
Harsha,
I'm not very knowledgeable on granular details of the EJB specification, but I don't think local ejbs are accessible to other applications.
Consider this snippet from this old OReilly link:
http://onjava.com/pub/a/onjava/2004/11/03/localremote.html
Before you start running to implement local client view into your application, you need to be aware of some restrictions. Local client view can only be accessed:
When enterprise beans are packaged within the same EJB-JAR package.
When enterprise beans are packaged within different EJB-JAR packages, but everything is still packaged within the same application's EAR package.
When a web component in a WAR file is packaged within the same application's EAR package.
Local client view cannot be accessed:
When an EJB or web component is packaged in a different application's EAR packages.
When a web component is deployed in a web container, and EJBs are deployed in an EJB container, and these containers are separated (even if they are running on the same machine).
Similar Messages
-
5.1sp8
I always thought that cost of a local JNDI lookup is pretty
small, but just found that it is not:
application JSP's extend common superclass which does(did!) JNDI
lookup based on the URI and sets a threadlocal variable before
invoking jspservice() method.
During performance testing replacing JNDI with a static hashtable
improved thoughput by ~25-30% (pages themselves are very fast -
mostly jsp cache tags hits).
Weird.
DimitriFirst of all I am not caching the Initial Context. I am caching the results
of the initial context lookup into a hashmap (I have changed this from
hashtable, which I proposed originally in my posting - see my latest post).
Second, if you have client running in seperate JVM, can not lookup the
hashmap created by the server.
Third, on the server side, you cannot get a reference of a startup class.
The server simply instantiates the class and invoke startup() method (from
T3StartupDef interface) and it does not keep reference after startup()
method returns. But you could use another class that you want to get an
instance of by creating it within the startup class and provide a static
method to create/return that instance. I guess the proper way of saying it
would be create the hashmap as a class variable in a singleton class
(hopefully you get the idea)...
.raja
-----Original Message-----
From: Mittal, Raj [mailto:[email protected]]
Sent: Wednesday, June 20, 2001 1:16 PM
To: '[email protected]'
Subject: Re: cost of a local JNDI lookup
Raja,
We are also wrapping all the JNDI requirements in a startup class and WL
loads it automatically. Now my problem is how to access the InitalContext
(initialized by startup class) by a client and also on the server side. If
you have any code that explains that, please pass it along.
Thanks
Raj Mittal
Front Office Group
NEUBERGER BERMAN
*(646) 497-4224
"Raja Mukherjee" <[email protected]> wrote in message
news:[email protected]...
Mike,
Thanks for the reply to the previous message. For the particularbenchmark,
I knew all the JNDI lookup requirements at the design time (I think that
would be the case in most applications), so I wrapped them into a startup
class.
.raja
"mike " <[email protected]> wrote in message
news:[email protected]...
In the code where you need the context ...
static Hashtable h=new Hashtable();
ctx=h.get(ctx_name);
if(ctx == null){
ctx=new InitialContext(... args ...);
h.put(ctx_name, ctx);
mike
Kirk Everett <[email protected]> wrote:
Can you explan what you mean by "use a static hash table"? We did some
load
testing on 6.0 SP 1 and saw that
creating an local initial context is fairly costly and I would like to
understand your solution. Thanks.
Kirk
Raja Mukherjee wrote:
Dimitri,
I was surprised to see that in WLS 5.1. I have seen this on 6.0 and
understood that JNDI lookups need to be sereilized because of the newclass
loader. In the recent benchmark, for 6.0 we found that the about
15-20%
of
the (client's) application CPU time was spent on JNDI lookup
(serealization). We changed it to a static hash table.
Unfortunately, I am only seeing marginal gain in 5.1sp8.
For all 6.0 applications we are going to use static hashtable. Mightas well
do it now for 5.1 so that your migration to 6.0 will be easier :).
.raja
"Daniel Hoppe" <[email protected]> wrote in message
news:[email protected]...
This is irritating. If I remember correctly, until now the official
statement was that it's not even worth caching an InitialContext ifit's
a local one. Guess I'll have to review my application for this as
well.
>>>>
Daniel
-----Ursprüngliche Nachricht-----
Von: Dimitri Rakitine [mailto:[email protected]]
Bereitgestellt: Freitag, 15. Juni 2001 05:17
Bereitgestellt in: performance
Unterhaltung: cost of a local JNDI lookup
Betreff: cost of a local JNDI lookup
5.1sp8
I always thought that cost of a local JNDI lookup is pretty
small, but just found that it is not:
application JSP's extend common superclass which does(did!) JNDI
lookup based on the URI and sets a threadlocal variable before
invoking jspservice() method.
During performance testing replacing JNDI with a static hashtable
improved thoughput by ~25-30% (pages themselves are very fast -
mostly jsp cache tags hits).
Weird.
Dimitri -
JDBC Lookup - Import table data from a different schema in same DB
Hi XI Experts,
We are facing an issue while importing a Database table into the external definition in PI 7.1.
The details are as below:
I have configured user 'A' in PI communication channel to access the database. But the table that I want to access is present in schema "B". Due to this, I am unable to view the table that I have to import in the list available.
In other words, I am trying to access a table present in a different schema in the same database. Please note that my user has been given all the required permissions to access different schema. Even then, I am unable to access the table in different schema.
Kindly provide your valuable suggestions as to how I can import table which is present in another schema but in the same Database.
Regards,
SubbuIf you are using PI 7.1, then you can do JDBC Lookup to import JDBC meta data (table structures from DB). Configure a jdbc receiver communication channel where you specify username and password which has permission to access schema A and Schema B of database. Specify database name in the connection string. Then you might have access to import both schema.
Please refer these links
SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups
How to use JDBC Lookup in PI 7.1 ? -
Revision: 4982
Author: [email protected]
Date: 2009-02-16 23:31:05 -0800 (Mon, 16 Feb 2009)
Log Message:
Moving DataGroup from item based lookup to an index based lookup. Also, we now cleanup old item renderers when the dataProvider changes. This solves some memory leak problems.
Because of this, we should now be able to deal with duplicate items again.
We still need to work on data collection changes in the virtual layout case.
QE Notes: Please add the tests for dup items back in
Doc Notes: -
Bugs: SDK-19245, SDK-18043
Reviewer: Hans
tests: checkintests, DataGroup and FxList mustella tests (some new ones failed, but are really due to SDK-19287, and these tests should be excluded to that bug now)
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-19245
http://bugs.adobe.com/jira/browse/SDK-18043
http://bugs.adobe.com/jira/browse/SDK-19287
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.asGREAT info, but it may be helpful to note that when replacing a portion of the variable "Countries" with a whitespace character, you may cause the workflow to fail in a few specific cases (certain lookup fields will not accept this and will automatically
cancel). I only found this out when recreating your workflow on a similar, but much more complex list set.
To resolve this issue, I used another utility action (Extract Substring from Index of List) to clear out the whitespace. I configured it as "Copy from
Variable: Countries, starting at
1 (Output to Variable: Countries), which takes care of this issue in those few cases.
Otherwise, WOW! AWESOME JOB! Thanks! :) -
Local Machine not present in local configuration store
Having trouble getting Lync 2013 installed on a Windows Server 2012R2 OS.
Pool consists of Lync Server and SharePoint Server. Using Enterprise version so Databases are on separate SQL 2012 server. All machines domained. Logged in as myself who has domain admin creds.
Topology published without issue - all machines entered as FQDN using "servername.domain.net". Databases created in and showing in SQL MGMT Studio.
Moving on to Deployment Wizard and running through the steps:
Step 1 of Lync 2013 Deployment Wizard - Install Local Configuration Store
> Install Local Configuration Store
Import-CSConfiguration -FileName "C:\Users\MYNAME\AppData\Local\Temp\CSConfigData-2015_02_12-14_39_58.zip" -Verbose -LocalStore
> Enable local replica service
Enable-CSReplica -Verbose -Confirm:$false -Report "C:\Users\MYNAME\AppData\Local\Temp\Enable-CSReplica-[2015_02_12][14_39_53].html"
Creating new log file "C:\Users\MYNAME\AppData\Local\Temp\Enable-CSReplica-d761588e-475f-4b27-9345-d9ff17390a52.xml".
Enable replica service for the Lync Server computer.
Creating new log file "C:\Users\MYNAME\AppData\Local\Temp\Enable-CSReplica-[2015_02_12][14_39_53].html".
Enable-CSReplica" processing has completed successfully.
Detailed results can be found at "C:\Users\MYNAME\AppData\Local\Temp\Enable-CSReplica-[2015_02_12][14_39_53].html".
> Replicate-CsCmsCertificates
Logging status to: C:\Users\MYNAME\AppData\Local\Temp\ReplicateCMSCertificates-[2015_02_12][14_39_53].html
Task Status Completed.
Step 2 of Deployment Wizard - Setup or Remove Lync Server Components
> Bootstrap-CsComputer
Logging status to: C:\Users\MYNAME\AppData\Local\Temp\BootstrapFull-[2015_02_12][14_47_42].html
Checking prerequisites for bootstrapper...
Checking prerequisite WMIEnabled...prerequisite satisfied.
Checking prerequisite NoBootstrapperOnBranchOfficeAppliance...prerequisite satisfied.
Checking prerequisite SupportedOS...prerequisite satisfied.
Checking prerequisite NoOtherVersionInstalled...prerequisite satisfied.
Host name: LyncServer.domain.net
WARNING! Host not found in topology. All roles will be uninstalled.
Disabling unused roles...
Executing PowerShell command: Disable-CSComputer -Confirm:$false -Verbose -Report "C:\Users\MYNAME\AppData\Local\Temp\Disable-CSComputer-[2015_02_12][14_47_49].html"
Checking prerequisites for roles...
Checking prerequisite SupportedOS...prerequisite satisfied.
Checking prerequisite SupportedOSNoDC...prerequisite satisfied.
Checking prerequisite SupportedSqlRtcLocal...prerequisite satisfied.
Checking prerequisite WMIEnabled...prerequisite satisfied.
Checking prerequisite NoOtherVersionInstalled...prerequisite satisfied.
Checking prerequisite PowerShell...prerequisite satisfied.
Checking prerequisite WindowsIdentityFoundation...prerequisite satisfied.
Checking prerequisite SqlInstanceRtcLocal...prerequisite satisfied.
Checking prerequisite VCredist...prerequisite satisfied.
Checking prerequisite SqlNativeClient...prerequisite satisfied.
Checking prerequisite SqlClrTypes...prerequisite satisfied.
Checking prerequisite SqlSharedManagementObjects...prerequisite satisfied.
Checking prerequisite UcmaRedist...prerequisite satisfied.
No databases discovered, skipping Install-CsDatabase...
No roles discovered, skipping Enable-CsComputer...
am now stuck as the Step 3 shows "Local Machine not present in local configuration store"Hi Dee McClanahan,
I suggest you should check whether or not the names are spelled correctly in the topology builder.
If this is not the case, I suggest you can create and publish a new topology.
To remove the published entry run:
remove-CsConfigurationStoreLocation
In addition, I’m a little confused about what you say “Pool consists of Lync Server and SharePoint Server.”
Do you mean that you installed Lync Server and SharePoint Server on the same box ?
Best regards,
Eric -
Could take the same JNDI-names for both tags: jndi-name and local-jndi-name
Hello!
I try to design the weblogic-ejb-jar.xml descriptor and I ask myself, if I could
take the same JNDI-names for both tags:
<jndi-name> and <local-jndi-name> ?
Could you give me and advice if this is ok?
Thanksif you have two separate interfaces, you cant bind them to the same jndi
name. you will have a local home that extends EJBLocalHome and a remote
home called EJBHome. also you need to know which one you are looking up
so you can cast it properly, and use it property (remote interfaces need
PortableRemoteObject, remote parameters are passed by value, ...)
joern kirch wrote:
Hello!
I try to design the weblogic-ejb-jar.xml descriptor and I ask myself, if I could
take the same JNDI-names for both tags:
<jndi-name> and <local-jndi-name> ?
Could you give me and advice if this is ok?
Thanks -
Eventing from a PDK appln to a Webdynpro appln ! :(
Hi,
I would like to trigger an event in webdynpro and catch subscribe for it from a PDK application..
(And passing data b/w WD appln and a PDK appln ...)
How can i acheive the same..
WDPortalEventing will work only across WD applns !
Is their any API that suits my requirement !
Any help is appreciated !
Regards
BharathwajHi Bharath,
You can trigger in WD and catch it in the PDK application.
The following code is for firing an event from webdynpro.
WDPortalEventing.fire ("urn:com.sap.tc.webdynpro.test.portal",
"TestEvent",
"AParameter");
http://help.sap.com/saphelp_nw04/helpdata/en/5c/1d584289e59041e10000000a1550b0/frameset.htm
It can be captured in portal using EPCF
EPCM.subscribeEvent( "urn:com.sap.tc.webdynpro.test.portal",
"TestEvent",Function_name);
http://help.sap.com/saphelp_nw04/helpdata/en/f6/aebf40b87e0366e10000000a1550b0/frameset.htm
Regards
gEorgE -
Rich Domain Model and Local JNDI Lookups
Hi,
I'm sure this is a problem a lot of other people have come across but there seems to be very little coherent discussion on the issue, so I'd very much appreciate any views people might have on the matter.
The problem is whether or not you compromise your object-oriented principles and stick with the field or method level EJB dependency injection annotations, a procedural programming style, and a weak domain-model; or, strive for a richer domain model with a sub-optimal JDNI lookup solution.
Take adding an item to simple shopping cart as an example.
@Stateful
public class CartBean implements Cart {
@EJB
private ProductManagerLocal productManager;
@EJB
private PricingServiceLocal pricingService;
private Order order;
public void addItem(final int productId) {
if (order.containsLineItem(productId) {
order.addQuantity(productId, 1);
} else {
final Product product = productManager.getProduct(productId);
final Price price = pricingService.getPrice(productId);
order.createLineItem(product, price);
}The code above makes Cart dependent on Product and Price, when in reality Cart only cares about Order. The logic in the addItem() method should really be in the Order object on the basis Order is the information expert, but because Order is a POJO you can't inject the necessary EJB references. What's more, because the EJB interfaces are local they don't have a JNDI name assigned in the same way a remote one would.
To perform a portable lookup of the required EJBs from within an instance of the Order class, the method must be invoked by a component with the required EJB references in its private namespace. See https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html#POJOLocalEJB. This makes for a very brittle solution with no compile time checks whatsoever.
The problem seems to have been addressed in EJB 3.1 as the proposal for portable global JNDI names also applies to session beans exposing local only interfaces. See http://blogs.sun.com/kensaks/entry/portable_global_jndi_names.
There seems to be very little guidance from Sun on this matter; ALL the examples in the JEE 5 Tutorial follow the anaemic domain model approach with business objects presented as little more than dumb placeholders for persistent data.
What are people's thoughts on this? When it comes to EJB do we simply have to accept that local service lookups from POJOs aren't that robust and go with a procedural programming style, or should we be implementing a local service locator to facilitate domain objects taking on appropriate responsibilities via access to local stateless session beans / services?Hi,
I'm sure this is a problem a lot of other people have come across but there seems to be very little coherent discussion on the issue, so I'd very much appreciate any views people might have on the matter.
The problem is whether or not you compromise your object-oriented principles and stick with the field or method level EJB dependency injection annotations, a procedural programming style, and a weak domain-model; or, strive for a richer domain model with a sub-optimal JDNI lookup solution.
Take adding an item to simple shopping cart as an example.
@Stateful
public class CartBean implements Cart {
@EJB
private ProductManagerLocal productManager;
@EJB
private PricingServiceLocal pricingService;
private Order order;
public void addItem(final int productId) {
if (order.containsLineItem(productId) {
order.addQuantity(productId, 1);
} else {
final Product product = productManager.getProduct(productId);
final Price price = pricingService.getPrice(productId);
order.createLineItem(product, price);
}The code above makes Cart dependent on Product and Price, when in reality Cart only cares about Order. The logic in the addItem() method should really be in the Order object on the basis Order is the information expert, but because Order is a POJO you can't inject the necessary EJB references. What's more, because the EJB interfaces are local they don't have a JNDI name assigned in the same way a remote one would.
To perform a portable lookup of the required EJBs from within an instance of the Order class, the method must be invoked by a component with the required EJB references in its private namespace. See https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html#POJOLocalEJB. This makes for a very brittle solution with no compile time checks whatsoever.
The problem seems to have been addressed in EJB 3.1 as the proposal for portable global JNDI names also applies to session beans exposing local only interfaces. See http://blogs.sun.com/kensaks/entry/portable_global_jndi_names.
There seems to be very little guidance from Sun on this matter; ALL the examples in the JEE 5 Tutorial follow the anaemic domain model approach with business objects presented as little more than dumb placeholders for persistent data.
What are people's thoughts on this? When it comes to EJB do we simply have to accept that local service lookups from POJOs aren't that robust and go with a procedural programming style, or should we be implementing a local service locator to facilitate domain objects taking on appropriate responsibilities via access to local stateless session beans / services? -
Where to put jndi.properties in Web application to lookup remote EJB?
Hi All,
I want to use EJB deployed in an OC4J from web application deployed in another OC4J.
I've try to put jndi.properties file into WEB-INF/classes; package it into a jarfile and put into WEB-INF/lib, ... In all case, it doesn't work.
If I hard-coding the env properties as following, it works.
env.put( Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.rmi.RMIInitialContextFactory" );
env.put( Context.SECURITY_PRINCIPAL, "oc4jadmin" );
env.put( Context.SECURITY_CREDENTIALS, "welcome1");
env.put(Context.PROVIDER_URL, "opmn:ormi://fmtresearch:6005:home/TEST");
But if I put those env properties in jndi.properties file, it doesn't work.
java.naming.factory.initial=oracle.j2ee.rmi.RMIInitialContextFactory
java.naming.security.principal=oc4jadmin
java.naming.security.credentials=welcome1
java.naming.provider.url=opmn:ormi://fmtresearch:6005:home/TEST
Note that, the jndi.properties work if it is used in client application.
Please help me! Thanks.This may not help you directly. However, did you try printing the environment properties in the InitialContext you created.
Another thing.
You can use this function after creating the initial context to see the JNDI tree and see if it contains anything.
Thank you.
Function To list the JNDI Context name-object bindings
private void listContext2 (Context ctx, int ind, String name, String spaceIndent) {
String indent = spaceIndent + "[" + Integer.toString (ind) + "]" ;
try {
System.out.println (indent + "{" + name + "}");
NamingEnumeration justList = ctx.list(name);
while (justList.hasMore()) {
NameClassPair listItem = (NameClassPair) justList.next();
String className = listItem.getClassName();
String subName = listItem.getName();
boolean isRelative = listItem.isRelative();
String relativeName = ("".equals(name) ? new String(subName) : new String (name + "/" + subName));
listContext2 (ctx, (ind+1), relativeName, (" " + spaceIndent) );
catch (Exception exc) {
System.out.println ("Exception Occured at listContext2");
Hope it helps not deviates. Good luck -
I am trying to get "First day of the week" data from CLDR spec24 but cannot find where to look for it in the spec. I need this data to calculate numeric value of "LOCAL day of the week".
This data to implement "c" and "cc" day formats that equals numeric local day of the week.
e.g if "First day of the week" data for a locale is 2 (Monday) , it means numeric value for local day of the week will be 1 if it is Monday that day, 2 if it is Tuesday that day and likewise.Hi
If you want to week to be started with Sunday then use the following formula:
TimestampAdd(SQL_TSI_DAY, 1-DAYOFWEEK(Date'@{var_Date}'), Date'@{var_Date}') if it's retail week(starts from Monday) then the follow below:
TimestampAdd(SQL_TSI_DAY, 1-DAYOFWEEK(Date'@{var_Date}'), Date'@{var_Date}')
I'm assuming var_Date is the presentation variable for prompt...
Edited by: Kishore Guggilla on Jan 3, 2011 4:48 PM -
Lookup creation and using this lookup in SQL query
I Have two tables one table called T_KEY_VALUES (KEY_ID , VALUE) and other is my transition table T_TRANSACTIONS (VERSION_ID , COL_VENDOR , COL_PREFIX, COL_RECIPTID , COL_STATE , COL_COUNTRY ..)
The data looks like below:
T_KEY_VALUES:
KEY_ID , VALUE,
10, CA
11, NY
13, NJ
20, USA
21, CANADA
101 , AMC
102, REGAL
1001, MOVIES
1002, MALLS
T_TRANSACTIONS:
VERSION_ID , COL_VENDOR , COL_PREFIX , COL_RECIPTID , COL_SATE , COL_COUNTRY
1, 101 , 1001 , 100001 , 10 , 20
2, 102 , 1002 , 100002 , 11 ,20
Generally, COL_VENDOR, COL_PREFIX , COL_STATE , COL_COUTRY field values exist in the T_KEY_VALUES table.
So How can I use T_KEY_VALUES as Lookup and write the one SQL query to get the data like below:
1, AMC , MOVIES , 100001 , CA ,USA
2, REGAL , MALLS , 100002 , NY , USAHi,
One way is to join t_transactions to 4 copies of t_key_values:
SELECT t.version_id
, v.value AS vendor
, p.value AS prefix
, t.col_reciptid
, s.value AS state
, c.value AS country
FROM t_transactions t
JOIN t_key_values v ON v.key_id = t.col_vendor
JOIN t_key_values p ON p.key_id = t.col_prefix
JOIN t_key_values s ON s.key_id = t.col_state -- or col_sate
JOIN t_key_values c ON c.key_id = t.col_country
If you'd care to post CREATE TABLE and INSERT statements for the sample data, then I could test this.
The query above assumes all 4 coded columns in t_transactions have matching values in t_key_values, as they do in the sample data. If that assumption is wrong, then use outer joins in some (or all) of the places where I used inner joins above.
Another approach is to UNPIVOT t_transactions into 4 times as many rows, do a single join to t_key_values, and then PIVOT those results back to the original number of rows. -
Problem in populating lookup values based on the lookup query from database
HI all
I have problem of population look-up values based on look-up query
I am giving the details what i am trying
I need to populate the values from the UD_LDAP_USR table into the field of UD_USRGRPC_NisNetTriple of type lookup
i planned to set the properties of lookup as like this
look up query as select UD_LDAP_USR_COMMON_NAME as NisNetTriple from UD_LDAP_USR
ColumnNames as UD_LDAP_USR_COMMON_NAME
Column captions as UD_LDAP_USR_COMMON_NAME
Column width as 30
Lookup Column Name as UD_LDAP_USR_COMMON_NAME
But when i try to add ColumnName as wht i mentioned above i m getting invalid property exception,update failed
I am not sure about that are we able to use other Connector table prefix with UD into the another processFrom
Let me give update on this issue
Urgent,struck my work here
thanks
NagarajThanks for the reply raghav
I tried but it was not working
I gave like what u specified but no use
It is throwing exception like set look-up query for the field
Any one help me out on this issue
Edited by: Nagaraju Chowdary on Jan 21, 2013 3:41 AM
Edited by: Nagaraju Chowdary on Jan 21, 2013 3:42 AM -
Embed Quicktime Locally-Only for Presentation
In the past I have successfully embedded Quicktimes on HTML pages (IE) for local-only/kiosk PC presentations using:
<embed src="C:\kiosk\movie.mov">
However using the same string type for a MAC embed (Safari) isn't working, I get the Quicktime logo with a question mark through it
<embed src="/Users/mymachine/Desktop/movie.mov">
Any pointers in this arena?
Thanks!
G5 Mac OS X (10.3.9)Just place the html and movie in the same directory (same folder).
html+movie=<embed src="movie.mov">
Or you can put movie in fold with html outside of it.
html+movie in movie folder=<embed src="moviefolder/movie.mov"> -
Lookup into XML file in Lookup Transformation
Hi,
I am wondering if it is possible to do a lookup transformation where the source is an XML file, if so, what are the steps?
thanks in advance
paburgosHi paburgos,
If I understand correctly, you want to join two elements inside a XML file. If in this scenario, we can use Merge Join Transformation to achieve the goal.
For more detail steps, please refer to the reply post by me in the following thread:
https://social.technet.microsoft.com/Forums/en-US/df240bac-5196-45bc-a55b-cfe0ff5c5443/xml-import-with-duplicate-mappings?forum=sqlintegrationservices
If there are any misunderstanding, please elaborate the issue for further investigation.
Thanks,
Katherine Xiong
If you have any feedback on our support, please click
here.
Katherine Xiong
TechNet Community Support -
Figuring out local JNDI names with WSAD
I have a cmp bean, with JNDI name "ejb/ebmusic2/AlbumLocalHome".
when i try to look it up from another bean it fails. i also tried to add
the prefix "java:comp/env" as i saw being done in IBM redbook in a
similar circumstances, and yet the JNDI client fails to discover everything
that is after the "java" prefix.
any thoughts ? thanks for your help.try "local:ejb/ejb/"
so your code could say:
private String JNDI_LOCAL_PREFIX = "local:ejb/ejb/";
Maybe you are looking for
-
Why is the download/upload speed so slow on my MBA (about 5 times slower than my PC)?
-
Working with midi from scratch
I have a simple setup: a MacBookPro and Logic Express. I want to write in midi and create tracks from scratch. I'm not an instrument performer and I'm coming from working like this with an old computer and program. I have a general understanding of m
-
Open search-field (STRG+F) and mark words dynamicly
Hi, 1. an customer wishes to open the search-field which is shown after hitting strg+f automatically when opening his pdf documents. Is there an javascript snippet or some startup options to get this task done? It has to work also in the browser plug
-
My_BAPI shuldReceive input & returning back output?
I hv a Prog. my_ALV, which out puts the ALV report, by taking the Selection criteria from Selection screen. So, now, the requirement is(I dont hv Functional Specs), 1 - I hv to develop a my_BAPI This my_BAPI shuld(this BAPI in such a way that,), 1 -
-
i want to develop a Text Editor and i used Microsoft Rich Text Box from ActiveX as textarea but i don't know how i can call the methods and if i must use html tags? I want to change the font,the size,the color,to save the text,to open a file!!!!!!!!!