File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Problem JNDI lookup of EJB from other EJB in same application / jar
Joined: Aug 02, 2005
Sep 16, 2008 02:57:00
My application is built as an EAR containing a WAR and a
The JAR is deployed with ejb-jar.xml and each of my
are deployed with:
My WAR has a web.xml with the following for each EJB:
Within my web application I can only lookup the bean with
Now, I want to be able to lookup this bean from another bean.
java:comp/env/BlahEJB - does not work
BlahEJB - does not work
And about 20 other combinations does not work either.
I have tried an orion-ejb-xml configuration
with the following
and tried every combination as well with no luck.
What am I missing here?
thanks very much
I agree. Here's the link:
subject: Problem JNDI lookup of EJB from other EJB in same application / jar
Lookup problem for local beans on oc4j
NameNotFoundException Name "comp/env /ejb/HelloBeanRemote" not found
unable to do jndi lookup for my ejb in websphere
weblogic-ejb-jar.xml prblems ....
Referencing EJBs in a JAR file from a WAR
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013