javax.naming.NameNotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • jax-rs with glassfish 2.1 local ejb injection
    via by djgerbavore,
  • Netbeans - J2EE - netbeans EJB 3.0 Tutorial
    via by Unknown author,
  • Problem calling a session bean (EJB 3.0)
    via by Unknown author,
  • Java How To ...: 06/2006
    via by Unknown author,
  • JNDI problems
    via by 843793,
    • javax.naming.NameNotFoundException: No object bound to name java:comp/env/com.foo.Bar at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:856) at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:173) at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:407) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.foo.EJBProvider.lookup(EJBProvider.java:59) at com.foo.EJBProvider.getInjectable(EJBProvider.java:37) at com.foo.EJBProvider.getInjectable(EJBProvider.java:21) at com.sun.jersey.core.spi.factory.InjectableProviderFactory._getInjectable(InjectableProviderFactory.java:217) at com.sun.jersey.core.spi.factory.InjectableProviderFactory.getInjectable(InjectableProviderFactory.java:194) at com.sun.jersey.core.spi.factory.InjectableProviderFactory.getInjectable(InjectableProviderFactory.java:184) at com.sun.jersey.server.spi.component.ResourceComponentInjector.processFields(ResourceComponentInjector.java:129) at com.sun.jersey.server.spi.component.ResourceComponentInjector.<init>(ResourceComponentInjector.java:90) at com.sun.jersey.server.spi.component.ResourceComponentConstructor.<init>(ResourceComponentConstructor.java:116) at com.sun.jersey.server.impl.resource.PerRequestFactory$PerRequest.init(PerRequestFactory.java:162) at com.sun.jersey.server.impl.model.ResourceClass.init(ResourceClass.java:200)
    No Bugmate found.