javax.naming.NamingException: Lookup failed for 'java:comp/env/ejb/Calculator' 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.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=ejb/Calculator,Remote 3.x interface =null,ejb-link=null,lookup=,mappedName=,jndi-name=corba:iiop:localhost:3700#ejb/Calc,refType=Session' . Actual (possibly internal) Remote JNDI name used for lookup is 'corba:iiop:localhost:3700#ejb/Calc#null' [Root exception is java.lang.NullPointerException]]

Oracle Community | Bernhard Thalmayr Guest | 5 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

    GF 3.1.1 using CORBA interoperable naming syntax for JNDI lookup

    Oracle Community | 5 years ago | Bernhard Thalmayr Guest
    javax.naming.NamingException: Lookup failed for 'java:comp/env/ejb/Calculator' 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.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=ejb/Calculator,Remote 3.x interface =null,ejb-link=null,lookup=,mappedName=,jndi-name=corba:iiop:localhost:3700#ejb/Calc,refType=Session' . Actual (possibly internal) Remote JNDI name used for lookup is 'corba:iiop:localhost:3700#ejb/Calc#null' [Root exception is java.lang.NullPointerException]]
  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

    Design Generic CRUD Session Bean

    Stack Overflow | 6 years ago | Thang Pham
    javax.naming.NamingException: Lookup failed for 'java:comp/env/com.bridgeye.web.Profile/myEJB' 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.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=com.bridgeye.web.Profile/myEJB,Remote 3.x interface =com.bridgeye.ejb.GenericCRUDServiceBean,ejb-link=null,lookup=,mappedName=,jndi-name=com.bridgeye.ejb.GenericCRUDServiceBean,refType=Session' . Actual (possibly internal) Remote JNDI name used for lookup is 'com.bridgeye.ejb.GenericCRUDServiceBean#com.bridgeye.ejb.GenericCRUDServiceBean' [Root exception is javax.naming.NamingException: Lookup failed for 'com.bridgeye.ejb.GenericCRUDServiceBean#com.bridgeye.ejb.GenericCRUDServiceBean' 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: com.bridgeye.ejb.GenericCRUDServiceBean#com.bridgeye.ejb.GenericCRUDServiceBean not found]]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Glassfish 3.1 bug in JDBCRealm dataSource-jndi

    Oracle Community | 6 years ago | ulric-3091163
    javax.security.auth.login.LoginException: Unable to connect to datasource jdbc/Aswm for database user null.
  6. 0

    Glassfish 3.1 bug in JDBCRealm dataSource-jndi

    Oracle Community | 6 years ago | ulric-3091163
    javax.security.auth.login.LoginException: Unable to connect to datasource jdbc/Aswm for database user null.

    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/env/ejb/Calculator' 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.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=ejb/Calculator,Remote 3.x interface =null,ejb-link=null,lookup=,mappedName=,jndi-name=corba:iiop:localhost:3700#ejb/Calc,refType=Session' . Actual (possibly internal) Remote JNDI name used for lookup is 'corba:iiop:localhost:3700#ejb/Calc#null' [Root exception is java.lang.NullPointerException]]

      at com.sun.enterprise.naming.impl.SerialContext.lookup()
    2. Glassfish Naming
      SerialContext.lookup
      1. com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)
      2. com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
      2 frames
    3. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:392)
      2. javax.naming.InitialContext.lookup(InitialContext.java:392)
      2 frames
    4. com.painstakingminds.math
      Calculator.doTotal
      1. com.painstakingminds.math.Calculator.doTotal(Calculator.java:14)
      1 frame
    5. com.painstakingminds.web
      EjbTest.doGet
      1. com.painstakingminds.web.EjbTest.processRequest(EjbTest.java:44)
      2. com.painstakingminds.web.EjbTest.doGet(EjbTest.java:72)
      2 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
      1 frame