javax.naming.NamingException: Lookup failed for 'ejb/ > CompetitionService' in > SerialContext[myEnv={org.omg.CORBA.ORBInitialPort=6457, > java > .naming > .factory.initial=com.sun.enterprise.naming.SerialInitContextFactory, > org.omg.CORBA.ORBInitialHost=vwdsas02.corp.espn3.com, > 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: Unable to acquire > SerialContextProvider for > SerialContext[myEnv={org.omg.CORBA.ORBInitialPort=6457, > java > .naming > .factory.initial=com.sun.enterprise.naming.SerialInitContextFactory, > org.omg.CORBA.ORBInitialHost=vwdsas02.corp.espn3.com, > java > .naming > .factory > .state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, > java.naming.factory.url.pkgs=com.sun.enterprise.naming} [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 > com > .espn > .sports > .ws > .client.EJBSessionPoolFactory.makeObject(EJBSessionPoolFactory.java: > 61) > at > org > .apache > .commons > .pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974) > at > com > .espn.sports.ws.client.EJBSessionPool.getSession(EJBSessionPool.java: > 115) > at > com.espn.sports.ws.client.EJBClient.getSession(EJBClient.java:92) > at > com > .espn > .sports > .ws.client.CompetitionClient.getCompetition(CompetitionClient.java:60) > at > com > .espn > .sports > .ws > .client > .tea.CompetitionTeaContext.getCompetition(CompetitionTeaContext.java: > 50) > at MergedClass$1933087151.getCompetition(Unknown > Source) >

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 Comerford, Sean Guest, 1 year ago
Lookup failed for 'ejb/ > CompetitionService' in > SerialContext[myEnv={org.omg.CORBA.ORBInitialPort=6457, > java > .naming > .factory.initial=com.sun.enterprise.naming.SerialInitContextFactory, > org.omg.CORBA.ORBInitialHost=vwdsas02.corp.espn3
javax.naming.NamingException: Lookup failed for 'ejb/ > CompetitionService' in > SerialContext[myEnv={org.omg.CORBA.ORBInitialPort=6457, > java > .naming > .factory.initial=com.sun.enterprise.naming.SerialInitContextFactory, > org.omg.CORBA.ORBInitialHost=vwdsas02.corp.espn3.com, > 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: Unable to acquire > SerialContextProvider for > SerialContext[myEnv={org.omg.CORBA.ORBInitialPort=6457, > java > .naming > .factory.initial=com.sun.enterprise.naming.SerialInitContextFactory, > org.omg.CORBA.ORBInitialHost=vwdsas02.corp.espn3.com, > java > .naming > .factory > .state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, > java.naming.factory.url.pkgs=com.sun.enterprise.naming} [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 > com > .espn > .sports > .ws > .client.EJBSessionPoolFactory.makeObject(EJBSessionPoolFactory.java: > 61) > at > org > .apache > .commons > .pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974) > at > com > .espn.sports.ws.client.EJBSessionPool.getSession(EJBSessionPool.java: > 115) > at > com.espn.sports.ws.client.EJBClient.getSession(EJBClient.java:92) > at > com > .espn > .sports > .ws.client.CompetitionClient.getCompetition(CompetitionClient.java:60) > at > com > .espn > .sports > .ws > .client > .tea.CompetitionTeaContext.getCompetition(CompetitionTeaContext.java: > 50) > at MergedClass$1933087151.getCompetition(Unknown > Source) >
at com.go.teaservlet.template.test.execute(test.tea:8)

Users with the same issue

You are the first who have seen this exception.

Write tip

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