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

Oracle Community | schnudl | 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

    lookup of a sateless remote bean using Glassfish 3

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

    lookup of a sateless remote bean using Glassfish 3

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

    GlassFish Users - javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory

    nabble.com | 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]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GlassFish Users - help initial context for Jndi with Datasource in Glassfish

    nabble.com | 9 months ago
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
  6. 0

    Problem with code

    Coderanch | 8 years ago | Higor Zardo
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]

    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. java.lang.ClassNotFoundException

      com.sun.enterprise.naming.SerialInitContextFactory

      at java.net.URLClassLoader$1.run()
    2. Java RT
      InitialContext.<init>
      1. java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      2. java.security.AccessController.doPrivileged(Native Method)
      3. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      4. java.lang.ClassLoader.loadClass(ClassLoader.java:303)
      5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      6. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      7. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
      8. java.lang.Class.forName0(Native Method)
      9. java.lang.Class.forName(Class.java:247)
      10. com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
      11. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
      12. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      13. javax.naming.InitialContext.init(InitialContext.java:223)
      14. javax.naming.InitialContext.<init>(InitialContext.java:197)
      14 frames
    3. ejbtest
      Main.main
      1. ejbtest.Main.main(Main.java:44)
      1 frame