This content has been marked as final.
Show 4 replies
-
1. Re: Lookup question
frito Jul 1, 2003 10:38 AM (in response to bangclash)You can lookup a DS only in the server VM. Thus the java: namespace is the correct jndi namespace.
I don't know what kind of object you are looking up with WebSphere. Perhaps it makes sense to allow a global look up, but I don't think so.
Greetings,
Frito -
2. Re: Lookup question
atli Jul 2, 2003 12:44 AM (in response to bangclash)bcoz of this i could not sleep all night yesterday.........
i did not know we needed to include the jndi name prefixed to java:
anyway all's well that ends well -
3. Re: Lookup question
bangclash Jul 2, 2003 3:34 PM (in response to bangclash)Do you know why we have to include the "java:" prefix? I don't have to do that with websphere.
-
4. Re: Lookup question
juhalindfors Jul 2, 2003 3:59 PM (in response to bangclash)You don't (and probably should not) lookup directly from the java: name space, rather use the bean's private ENC (java:comp/env) and map that to the actual lookup name in your jboss.xml file.