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,
  • javax.naming.NameNotFoundException: jms
    via Stack Overflow by g123k
    ,
  • Design Generic CRUD Session Bean
    via Stack Overflow by Thang Pham
    ,
  • Glassfish 3.1 bug in JDBCRealm dataSource-jndi
    via by ulric-3091163,
  • Glassfish 3.1 bug in JDBCRealm dataSource-jndi
    via by ulric-3091163,
  • GF 3.1 and java:/module scope
    via by vincent_aumont,
    • 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 visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,