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) >> >>

Oracle Community | Bernhard Thalmayr Guest | 5 years ago
  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]] >> at >> com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518) >> >> at >> com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455) >> >>
  2. 0

    c3p0:JDBC DataSources/Resource Pools / Mailing Lists

    sourceforge.net | 1 year ago
    javax.naming.NamingException: Could not resolve >> Reference to Object! [Root excepti on is java.lang.ClassNotFoundException: >> com.mchange.v2.c3p0.impl.C3P0JavaBeanObjectFactory] at >> com.mchange.v2.naming.ReferenceIndirector$ReferenceSerialized.getObject(ReferenceIndirector.java:125) at >> com.mchange.v2.ser.SerializableUtils.fromByteArray(SerializableUtils.java:125) at >> com.mchange.v2.naming.JavaBeanObjectFactory.createPropertyMap(JavaBeanObjectFactory.java:110) at >> com.mchange.v2.naming.JavaBeanObjectFactory.getObjectInstance(JavaBeanObjectFactory.java:71) at >> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321) at >> org.eclipse.jetty.jndi.NamingContext.lookup(NamingContext.java:476) at >> org.eclipse.jetty.jndi.local.localContextRoot.lookup(localContextRoot.java:518) at >> org.eclipse.jetty.jndi.local.localContextRoot.lookup(localContextRoot.java:533)
  3. 0

    c3p0:JDBC DataSources/Resource Pools / Mailing Lists

    sourceforge.net | 1 year ago
    javax.naming.NamingException: Could not resolve Reference to Object! [Root exception is java.lang.ClassNotFoundException: com.mchange.v2.c3p0.impl.C3P0JavaBeanObjectFactory] at com.mchange.v2.naming.ReferenceableUtils.referenceToObject(ReferenceableUtils.java:100) at com.mchange.v2.naming.ReferenceIndirector$ReferenceSerialized.getObject(ReferenceIndirector.java:118) at com.mchange.v2.ser.SerializableUtils.fromByteArray(SerializableUtils.java:125) at com.mchange.v2.naming.JavaBeanObjectFactory.createPropertyMap(JavaBeanObjectFactory.java:110) at com.mchange.v2.naming.JavaBeanObjectFactory.getObjectInstance(JavaBeanObjectFactory.java:71) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321) at org.eclipse.jetty.jndi.NamingContext.lookup(NamingContext.java:476) at org.eclipse.jetty.jndi.local.localContextRoot.lookup(localContextRoot.java:518) at org.eclipse.jetty.jndi.local.localContextRoot.lookup(localContextRoot.java:533)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    'Re: [jacorb-developer] Sun bundled corba libs or jacorbs' - MARC

    marc.info | 1 year ago
    javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.MARSHAL: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0 vmcid: 0x0 minor code: 0 completed: No] at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:81) at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:237) at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:171)
  6. 0

    Sun bundled corba libs or jacorbs

    gmane.org | 1 year ago
    javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.MARSHAL: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0 vmcid: 0x0 minor code: 0 completed: No] at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:81) at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:237) at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:171)

    1 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(SerialContext.java:518) >> >> at >> com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455) >> >>

      at javax.naming.InitialContext.lookup()
    2. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:392)
      2. javax.naming.InitialContext.lookup(InitialContext.java:392)
      2 frames
    3. com.painstakingminds.math
      Calculator.doTotal
      1. com.painstakingminds.math.Calculator.doTotal(Calculator.java:14)
      1 frame
    4. 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
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
      1 frame