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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to