- Posted by: Deepak Rustagi
- Posted on: May 21 2002 07:18 EDT
I deploy the bean with ejb.CabinHome jndi context. When i try to get access through
jndi.lookup("ejb.CabinHome"); it's working fine but when i access it through jndi.lookup("java:comp\env\ejb\CabinHome") it's not working.
Could anyone tell what's the problem???I deploy the bean in weblogic server 5.1.
Hi, ejb/CabinHome is a name in a "global context".
Define an <ejb-ref> in web.xml for to try the lookup with
java:comp/env/ejb/CabinHome (that is a "local context name").
Sorry for my english.