javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.fscontext.RefFSContextFactory. Root exception is java.lang.ClassNotFoundException: com.sun.jndi.fscontext.RefFSContextFactory at java.net.URLClassLoader$1.run (URLClassLoader.java:198)

Coderanch | jacq carballo | 1 decade 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

    JMS Programming (Error)

    Coderanch | 1 decade ago | jacq carballo
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.fscontext.RefFSContextFactory. Root exception is java.lang.ClassNotFoundException: com.sun.jndi.fscontext.RefFSContextFactory at java.net.URLClassLoader$1.run (URLClassLoader.java:198)
  2. 0

    user-geronimo-apache - Re: Configure Oracle XA Datasource with Oracle XE (10g Express) in console dialog - msg#00028 - Recent Discussion OSDir.com

    osdir.com | 11 months ago
    javax.naming.NoInitialContextException: Failed to create InitialContext using factory specified in hashtable {java.naming.provider.url="" java.naming.factory.initial=org.apache.openejb.client.RemoteInitialContextFactory}  [Root exception is java.lang.NullPointerException]
  3. 0

    Wildfly 8 based standalone JMS client code common issues and remedies ? « JBoss

    middlewaremagic.com | 8 months ago
    javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming.remote.client.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.jboss.naming.remote.client.InitialContextFactory]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    EJPPC0242E: Error occurred during lookup in application extension registry

    Coderanch | 5 years ago | Ashutosh Arya
    javax.naming.NoInitialContextException: Failed to create InitialContext using factory specified in hashtable {java.naming.factory.initial=com.recel.jndi.helper.SimpleContextFactory, java.naming.provider.url=corbaloc:rir:/WsnAdminNameService, java.naming.corba.orb=com.ibm.CORBA.iiop.ORB@6da86da8, java.naming.factory.url.pkgs=com.ibm.ws.naming:com.ibm.ws.runtime:com.ibm.ws.naming} [Root exception is java.lang.NullPointerException]
  6. 0

    How to access the JNDI namespace defined in the Websphere 7.0 from outside of the container?

    Stack Overflow | 5 years ago
    javax.naming.NoInitialContextException: Failed to create InitialContext using factory specified in hashtable {java.naming.provider.url=iiop://localhost:2809, java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory} [Root exception is java.lang.NullPointerException]

    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.jndi.fscontext.RefFSContextFactory. Root exception is java.lang.ClassNotFoundException: com.sun.jndi.fscontext.RefFSContextFactory at java.net.URLClassLoader$1.run (URLClassLoader.java:198)

      at java.security.AccessController.doPrivileged()
    2. Java RT
      InitialContext.<init>
      1. java.security.AccessController.doPrivileged(Native Method)
      2. java.net.URLClassLoader.findClass(URLClassLoader.java:186)
      3. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      4. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
      5. java.lang.ClassLoader.loadClass(ClassLoader.java:262)
      6. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
      7. java.lang.Class.forName0(Native Method)
      8. java.lang.Class.forName(Class.java:207)
      9. com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
      10. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
      11. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
      12. javax.naming.InitialContext.init(InitialContext.java:219)
      13. javax.naming.InitialContext.<init>(InitialContext.java:195)
      13 frames
    3. Unknown
      JMSLookup.main
      1. JMSLookup.main(JMSLookup.java:22)
      1 frame