Re: ejb 2.1 look up - Websphere

This is a discussion on Re: ejb 2.1 look up - Websphere ; ha it didnt work!! Exception stack trace: com.ibm.websphere.naming.CannotInstantiateObjectEx ception: A NameNotFoundException occurred on an indirect lookup on the name java:comp/env/ejb/TransformXMLMessageLocalHome. The name java:comp/env/ejb/TransformXMLMessageLocalHome maps to a JNDI name in deployment descriptor bindings for the application performing the JNDI lookup. Make ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Re: ejb 2.1 look up

  1. Re: ejb 2.1 look up

    ha it didnt work!!

    Exception stack trace: com.ibm.websphere.naming.CannotInstantiateObjectEx ception: A NameNotFoundException occurred on an indirect lookup on the name java:comp/env/ejb/TransformXMLMessageLocalHome. The name java:comp/env/ejb/TransformXMLMessageLocalHome maps to a JNDI name in deployment descriptor bindings for the application performing the JNDI lookup. Make sure that the JNDI name mapping in the deployment descriptor binding is correct. If the JNDI name mapping is correct, make sure the target resource can be resolved with the specified name relative to the default initial context. [Root exception is javax.naming.NameNotFoundException: Name "ejb/TransformXMLMessageLocalHome" not found in context "local:".]

    The ejb references for my application on WAS 6.1, for ReceiverMDB Resource Reference is ejb/TransformXMLMessageLocalHome, now for Target Resource JNDI Name what value should i place in here, the same as resource reference or the target resource jndi name of the ejb TransformXMLMessage which is ejb/TransformXMLMessage.

    This is where i get confused!

  2. Re: ejb 2.1 look up

    found the problem, it was my target resource jndi name value, works fine now, thanks for your replies.

+ Reply to Thread