javax.naming.NamingException

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.

  • GF 3.1.1 using CORBA interoperable naming syntax for JNDI lookup
    via by Bernhard Thalmayr Guest,
  • Sun bundled corba libs or jacorbs
    via by Unknown author,
  • JPA Entities and GlassFish server
    via Stack Overflow by pooman
    ,
  • HA-JDBC / Mailing Lists
    via by Unknown author,
    • 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(SerialContext.java:518) >> >> at >> com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455) >> >> at javax.naming.InitialContext.lookup(InitialContext.java:392) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.painstakingminds.math.Calculator.doTotal(Calculator.java:14) at com.painstakingminds.web.EjbTest.processRequest(EjbTest.java:44) at com.painstakingminds.web.EjbTest.doGet(EjbTest.java:72) at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)

    Users with the same issue

    Unknown visitor1 times, last one,