1 Reply Latest reply on Jan 4, 2007 11:12 AM by Wolfgang Knauf

    NameNotFound exception in .jsp

    Konstantin Ermakov Newbie

      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