[jboss-user] [EJB 3.0] - NameNotFound exception in .jsp

konstantin.ermakov do-not-reply at jboss.com
Wed Jan 3 11:17:01 EST 2007


Hello!

   I was deploying my app as ejb3 jar. now I migrated to .ear as I would like to use the small on-the-web frontend.

All my stateless beans are annotated as 


  | @Stateless(name="application/session/SomeBean")
  | class ......
  | 

as soon as I am trying to execute context.lookup("application/session/SomeBean...") in my jsp I receive the following exception:


  | javax.naming.NameNotFoundException: session not bound. 
  | 

What I am doing wrong?

My JBoss server version is 4.0.4 GA

Thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997602#3997602

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997602



More information about the jboss-user mailing list