javax.naming.NamingException: Lookup failed for 'java:comp/BeanManager' in SerialContext [Root exception is javax.naming.NamingException: Error retrieving java:comp/BeanManager [Root exception is java.lang.IllegalStateException: Cannot resolve bean manager]]

Oracle Community | 392 Guest | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    glassfish-embedded-all and java:comp/BeanManager - lookup fails

    Oracle Community | 7 years ago | 392 Guest
    javax.naming.NamingException: Lookup failed for 'java:comp/BeanManager' in SerialContext [Root exception is javax.naming.NamingException: Error retrieving java:comp/BeanManager [Root exception is java.lang.IllegalStateException: Cannot resolve bean manager]]
  2. 0

    javax.naming.NameNotFoundException: jms

    Stack Overflow | 5 years ago | g123k
    javax.naming.NamingException: Lookup failed for 'jms/ConnectionFactory' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NameNotFoundException: jms]
  3. 0

    Exception attempting to inject Remote ejb-ref + pagina laad niet, EJB exception

    GitHub | 2 years ago | r0450086
    java.lang.IllegalStateException: Exception attempting to inject Remote ejb-ref name=org.thomasmore.oo3.course.resortui.controller.CustomerController/CustomerDao,Remote 3.x interface =org.thomasmore.oo3.course.resortui.dao.CustomerDao,ejb-link=null,lookup=,mappedName=,jndi-name=org.thomasmore.oo3.course.resortui.dao.CustomerDao,refType=Session into class org.thomasmore.oo3.course.resortui.controller.CustomerController: Lookup failed for 'java:comp/env/org.thomasmore.oo3.course.resortui.controller.CustomerController/CustomerDao' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error In Java EE Web App_ NetBeans

    Stack Overflow | 4 years ago | user128806
    java.lang.IllegalStateException: Exception attempting to inject Remote ejb-ref name=PresentationLayer.PlacesManagedBean/placesSessionBean,Remote 3.x interface =LogicLayer.PlacesSessionBean,ejb-link=null,lookup=,mappedName=,jndi-name=LogicLayer.PlacesSessionBean,refType=Session into class PresentationLayer.PlacesManagedBean: Lookup failed for 'java:comp/env/PresentationLayer.PlacesManagedBean/placesSessionBean' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}
  6. 0

    Tomcat -Hudson- Lookup failed for 'java:comp/env' in SerialContext in Unit tests

    Stack Overflow | 4 years ago | enricko
    javax.naming.NamingException: Lookup failed for 'java:comp/env' in SerialContext

    20 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.NamingException

      Lookup failed for 'java:comp/BeanManager' in SerialContext [Root exception is javax.naming.NamingException: Error retrieving java:comp/BeanManager [Root exception is java.lang.IllegalStateException: Cannot resolve bean manager]]

      at com.sun.enterprise.naming.impl.SerialContext.lookup()
    2. Glassfish Naming
      SerialContext.lookup
      1. com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:456)
      1 frame
    3. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:392)
      2. javax.naming.InitialContext.lookup(InitialContext.java:392)
      2 frames