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

Oracle Community | Comerford, Sean Guest | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Standalone EJB 3.1 client

    Oracle Community | 5 years ago | Comerford, Sean Guest
    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) >

    Root Cause Analysis

    1. 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()
    2. com.go.teaservlet
      test.execute
      1. com.go.teaservlet.template.test.execute(test.tea:8)
      1 frame