• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem JNDI lookup of EJB from other EJB in same application / jar  RSS feed

Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My application is built as an EAR containing a WAR and a EJB JAR.

The JAR is deployed with ejb-jar.xml and each of my EJBs 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

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!