Hi,
I am facing problem looking up jndi names starting with java:/. Names in global namespace are working fine. The client seemingly searches the global namespace(and not the java:/ namespace) to find such names(starting with jndi:/) which eventually results in a "name not bound" error.
Kindly suggest a solution.
Thanks in advance.
Srikanth.
-
problem with jndi names starting with java:/ in jboss (1 messages)
- Posted by: srikanth u
- Posted on: December 17 2004 06:15 EST
Threaded Messages (1)
- problem with jndi names starting with java:/ in jboss by Martin Straus on December 22 2004 08:59 EST
-
problem with jndi names starting with java:/ in jboss[ Go to top ]
- Posted by: Martin Straus
- Posted on: December 22 2004 08:59 EST
- in response to srikanth u
Try looking up with "java:", not "java:/"; for instance:
initialContext.lookup("java:comp/ejb/MyEJB");
Regards,
Martin