[jboss-user] [EJB 3.0] - placing ejb 3 session bean inside WAR
massive.boisson
do-not-reply at jboss.com
Mon Feb 12 19:10:22 EST 2007
Hi all,
I have a jsp inside a WAR file, trying to access ejb3 session bean inside WAR as well (WEB-INF/classes) all placed inside an EAR which in turn contains persistence.xml. Jsp looks it up from JNDI as "MySessionBean/local". It all works if session bean is deployed inside (ejb)jar file. But the way I need it - from war, it doesn't.
Exception I get is: javax.naming.NameNotFoundException: MySessionBean not bound.
So "all" I need is to bind the session bean (for which I have Local interface) to that name. But I don't have a clue how and where. And my attempts at guessing were unsuccessful.
Could someone please suggest something, anything?
Very thankfully,
--MB
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015497#4015497
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015497
More information about the jboss-user
mailing list