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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by Bernhard Thalmayr Guest, 1 year ago
=,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) >> >>
via Google Groups by bambang teleinfocom, 5 months ago
Unable to acquire > SerialContextProvider for SerialContext > ,orb'sInitialHost=localhost,orb'sInitialPort=3700 [Root exception is > org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No]] > at > com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:442)
via Oracle Community by 423729, 8 months ago
Error instantiating web-app JNDI-context: No location specified and no suitable instance of the type 'ec.com.carrasco.model.common.ejb.beanmanaged.RemoteAppModule' found for the ejb-ref ejb/AppModuleBean at com.evermind[Oracle Application Server
via marc.info by Unknown author, 2 years ago
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)
via gmane.org by Unknown author, 2 years ago
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)
via sourceforge.net by Unknown author, 2 years ago
Could not resolve >> Reference to Object! [Root exception is java.lang.ClassNotFoundException: >> com.mchange.v2.c3p0.impl.C3P0JavaBeanObjectFactory] at >> org.eclipse.jetty.jndi.NamingContext.lookup(NamingContext.java:485) at >> org.eclipse.jetty.jndi.local.localContextRoot.lookup(localContextRoot.java:518) at >> org.eclipse.jetty.jndi.local.localContextRoot.lookup(localContextRoot.java:533)
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

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.