javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.impl.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.impl.SerialInitContextFactory]

Oracle Community | erpomata | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Calling EJB on Glassfish V3 from V2

    Oracle Community | 5 years ago | erpomata
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.impl.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.impl.SerialInitContextFactory]
  2. 0

    javax.naming.NoInitialContextException: Cannot ... | JBoss Developer

    jboss.org | 1 year ago
    javax.naming.NoInitialContextException: Cannot instantiate class: or g.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoun dException: org.jnp.interfaces.NamingContextFactory] At line:1 char:5 + java <<<<  -jar AppClient.jar + CategoryInfo          : NotSpecified: (javax.naming.No...ContextFactory]    :String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError
  3. 0

    how to lookup datasource within module | JBoss Developer

    jboss.org | 1 year ago
    javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.as.naming.InitialContextFactory [Root exception is java.lang.ClassCastException: org.jboss.as.naming.InitialContextFactory cannot be cast to javax.naming.spi.InitialContextFactory]: javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.as.naming.InitialContextFactory [Root exception is java.lang.ClassCastException: org.jboss.as.naming.InitialContextFactory cannot be cast to javax.naming.spi.InitialContextFactory]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassNotFoundException for initial-context-factory using foreign JMS p.

    Oracle Community | 5 years ago | jaksky
    javax.naming.NoInitialContextException: Cannot instantiate class: cz.jaksky.common.jms.JMSInitialContextFactory [Root exception is java.lang.ClassNotFoundException: cz.jaksky.common.jms.JMSInitialContextFactory]
  6. 0

    Golden Gate with JMS as the target

    Oracle Community | 3 years ago | 2729122
    javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]

    12 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.NoInitialContextException

      Cannot instantiate class: com.sun.enterprise.naming.impl.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.impl.SerialInitContextFactory]

      at javax.naming.spi.NamingManager.getInitialContext()
    2. Java RT
      InitialContext.<init>
      1. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
      2. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      3. javax.naming.InitialContext.init(InitialContext.java:223)
      4. javax.naming.InitialContext.<init>(InitialContext.java:197)
      4 frames
    3. it.organismo.locator
      GenericServiceLocator.getFacade
      1. it.organismo.locator.GenericServiceLocator.getRemoteContext(GenericServiceLocator.java:240)
      2. it.organismo.locator.GenericServiceLocator.lookup(GenericServiceLocator.java:63)
      3. it.organismo.locator.GenericServiceLocator.getFacade(GenericServiceLocator.java:132)
      3 frames
    4. it.consob.ejb
      LoginBean.loginCR
      1. it.consob.ejb.session.login.LoginBean.getLoginToken(LoginBean.java:242)
      2. it.consob.ejb.session.login.LoginBean.loginCR(LoginBean.java:375)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. com.sun.enterprise
      EJBSecurityManager.runMethod
      1. com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
      1 frame
    7. Security Core Classes
      SecurityUtil.invoke
      1. com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
      1 frame
    8. Embedded GlassFish Web
      EJBLocalObjectInvocationHandlerDelegate.invoke
      1. com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2920)
      2. com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4011)
      3. com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
      4. com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:83)
      4 frames
    9. Unknown
      $Proxy79.loginCR
      1. $Proxy79.loginCR(Unknown Source)
      1 frame
    10. it.consob.ejb
      FacadeSessionBean.loginCR
      1. it.consob.ejb.session.FacadeSessionBean.loginCR(FacadeSessionBean.java:194)
      1 frame
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    12. com.sun.enterprise
      EJBSecurityManager.runMethod
      1. com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
      1 frame
    13. Security Core Classes
      SecurityUtil.invoke
      1. com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
      1 frame
    14. Embedded GlassFish Web
      EJBObjectInvocationHandlerDelegate.invoke
      1. com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2920)
      2. com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4011)
      3. com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:203)
      4. com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:77)
      4 frames
    15. Unknown
      $Proxy76.loginCR
      1. $Proxy76.loginCR(Unknown Source)
      1 frame
    16. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    17. glassfish-corba-orb
      StubInvocationHandlerImpl.invoke
      1. com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:154)
      2. com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:687)
      3. com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:227)
      4. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
      5. com.sun.corba.ee.impl.protocol.SharedCDRClientRequestDispatcherImpl.marshalingComplete(SharedCDRClientRequestDispatcherImpl.java:183)
      6. com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:219)
      7. com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:192)
      8. com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
      8 frames
    18. com.sun.corba
      BCELStubBase.invoke
      1. com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
      1 frame