10 Replies Latest reply on Sep 3, 2013 3:35 AM by Wolf-Dieter Fink

    javax.naming.NameNotFoundException: global/...

    goot Newbie

      when I try to lookup my Remote EJBClass, I receive this NameNotFoundException:

       

      javax.naming.NameNotFoundException: global/foo_business_ear-ear/foo_business_ear-ejb/LoginBean!foo.business.login.LoginBeanRemote -- service jboss.naming.context.java.jboss.exported.global.foo_business_ear-ear.foo_business_ear-ejb."LoginBean!foo.business.login.LoginBeanRemote"
        at org
      .jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:97)
        at org
      .jboss.as.naming.NamingContext.lookup(NamingContext.java:178)
        at org
      .jboss.naming.remote.protocol.v1.Protocol$1.handleServerMessage(Protocol.java:127)
        at org
      .jboss.naming.remote.protocol.v1.RemoteNamingServerV1$MessageReciever$1.run(RemoteNamingServerV1.java:73)
        at java
      .util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java
      .util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java
      .lang.Thread.run(Unknown Source)

      ERROR
      : org.jboss.naming.remote.protocol.v1.RemoteNamingStoreV1 - Channel end notification received, closing channel Channel ID ef1b671f (outbound) of Remoting connection 6af39445 to localhost/127.0.0.1:4447{

       

      My JNDI Lookup name is:

      java:global/foo_business_ear-ear/foo_business_ear-ejb/LoginBean!foo.business.login.LoginBeanRemote

       

      However I think the ejb is deployed correctly and I tried every possible lookup name to make a lookup.

       

      I added a screenhot of my JNDI View.

       

      Do you have any Idea what I could have missed?

       

      Client is a Tomcat 5.0

      EJB Server is JBoss AS 7.1.1