In my web.xml descriptor, I have an ejb-ref for one of my jsp/servlets.
When that jsp
does a lookup on the EJB, it finds it just fine.
In my ejb-jar.xml descriptor, I have a similar ejb-ref from EJB to EJB
(exact in all ways
except I'm making a reference to a totally different bean).
>From the "web" side of things, using the java:comp/env/ prefix to do the
lookup for
the reference in my web.xml file works just fine (appending the JNDI name
of the EJB
of course).
>From the "ejb" side of things, using that same prefix and the JNDI name of
the EJB
fails. Why?
I'm getting an initial context in exactly the same way in both cases. Can
someone
shed some light on this?
Robert
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists