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

Oracle Community | krone | 6 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

    NetBeans Forums - Forward a message to remote server in message driven bean

    netbeans.org | 1 year ago
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
  2. 0

    Forward a message to remote server in message driven bean

    Oracle Community | 6 years ago | krone
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
  3. 0

    Forward a message to remote server in message driven bean

    Oracle Community | 6 years ago | krone
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Stack Trace during instrument (Groovy Project)

    GitHub | 3 years ago | JayStGelais
    java.lang.RuntimeException: java.lang.ClassNotFoundException: [CLASSNAME REDATCED: depended on object]

  1. andyglick 8 times, last 1 week ago
  2. tyson925 3 times, last 2 weeks ago
  3. Adrien 8 times, last 2 weeks ago
  4. SteVio1989 4 times, last 3 weeks ago
  5. jstrayer 1 times, last 3 weeks ago
58 more registered users
37 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. java.lang.ClassNotFoundException

    com.sun.enterprise.naming.SerialInitContextFactory

    at java.net.URLClassLoader$1.run()
  2. Java RT
    Class.forName
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    6. java.lang.Class.forName0(Native Method)
    7. java.lang.Class.forName(Class.java:247)
    7 frames
  3. Glassfish Naming
    GlassFishNamingBuilder.createInitialContextFactory
    1. com.sun.enterprise.naming.GlassFishNamingBuilder.loadClass(GlassFishNamingBuilder.java:130)
    2. com.sun.enterprise.naming.GlassFishNamingBuilder.createInitialContextFactory(GlassFishNamingBuilder.java:96)
    2 frames
  4. Java RT
    InitialContext.<init>
    1. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:664)
    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
  5. mdb
    HalloMDB.<init>
    1. mdb.HalloMDB.init(HalloMDB.java:89)
    2. mdb.HalloMDB.<init>(HalloMDB.java:47)
    2 frames
  6. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    5. java.lang.Class.newInstance0(Class.java:355)
    6. java.lang.Class.newInstance(Class.java:308)
    6 frames
  7. Embedded GlassFish Web
    MessageBeanListenerImpl.beforeMessageDelivery
    1. com.sun.ejb.containers.BaseContainer._constructEJBInstance(BaseContainer.java:1640)
    2. com.sun.ejb.containers.BaseContainer.createEjbInstanceAndContext(BaseContainer.java:1623)
    3. com.sun.ejb.containers.MessageBeanContainer.createMessageDrivenEJB(MessageBeanContainer.java:679)
    4. com.sun.ejb.containers.MessageBeanContainer.access$100(MessageBeanContainer.java:95)
    5. com.sun.ejb.containers.MessageBeanContainer$MessageBeanContextFactory.create(MessageBeanContainer.java:478)
    6. com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:200)
    7. com.sun.ejb.containers.MessageBeanContainer._getContext(MessageBeanContainer.java:542)
    8. com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:2467)
    9. com.sun.ejb.containers.MessageBeanContainer.beforeMessageDelivery(MessageBeanContainer.java:982)
    10. com.sun.ejb.containers.MessageBeanListenerImpl.beforeMessageDelivery(MessageBeanListenerImpl.java:72)
    10 frames
  8. Connectors Inbound Support
    MessageEndpointInvocationHandler.invoke
    1. com.sun.enterprise.connectors.inbound.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:134)
    1 frame
  9. Unknown
    $Proxy122.beforeDelivery
    1. $Proxy122.beforeDelivery(Unknown Source)
    1 frame
  10. com.sun.messaging
    OnMessageRunner.run
    1. com.sun.messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:245)
    1 frame
  11. Embedded GlassFish Web
    OneWork.doWork
    1. com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:92)
    1 frame
  12. glassfish-corba-orbgeneric
    ThreadPoolImpl$WorkerThread.run
    1. com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:492)
    2. com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:528)
    2 frames