javax.naming.NoInitialContextException: Cannot instantiate class: simpleStatelessWithDescriptor.LocalInitialContextFactory [Root exception is java.lang.ClassNotFoundException: simpleStatelessWithDescriptor.LocalInitialContextFactory]

Stack Overflow | Tom Brito | 4 months ago
  1. 0

    Simple Stateless with Descriptor: ClassNotFoundException: LocalInitialContextFactory

    Stack Overflow | 4 months ago | Tom Brito
    javax.naming.NoInitialContextException: Cannot instantiate class: simpleStatelessWithDescriptor.LocalInitialContextFactory [Root exception is java.lang.ClassNotFoundException: simpleStatelessWithDescriptor.LocalInitialContextFactory]
  2. 0

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

    middlewaremagic.com | 5 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]
  3. 0

    EJPPC0242E: Error occurred during lookup in application extension registry

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

    Automated exception search integrated into your IDE

  5. 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]
  6. 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 | 8 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]

    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

      simpleStatelessWithDescriptor.LocalInitialContextFactory

      at java.net.URLClassLoader$1.run()
    2. Java RT
      InitialContext.<init>
      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:306)
      5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      6. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      7. java.lang.Class.forName0(Native Method)
      8. java.lang.Class.forName(Class.java:249)
      9. com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
      10. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
      11. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      12. javax.naming.InitialContext.init(InitialContext.java:223)
      13. javax.naming.InitialContext.<init>(InitialContext.java:197)
      13 frames
    3. simpleStatelessWithDescriptor
      CalculatorTest.setUp
      1. simpleStatelessWithDescriptor.CalculatorTest.setUp(CalculatorTest.java:17)
      1 frame
    4. JUnit
      JUnit38ClassRunner.run
      1. junit.framework.TestCase.runBare(TestCase.java:139)
      2. junit.framework.TestResult$1.protect(TestResult.java:122)
      3. junit.framework.TestResult.runProtected(TestResult.java:142)
      4. junit.framework.TestResult.run(TestResult.java:125)
      5. junit.framework.TestCase.run(TestCase.java:129)
      6. junit.framework.TestSuite.runTest(TestSuite.java:252)
      7. junit.framework.TestSuite.run(TestSuite.java:247)
      8. org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
      8 frames
    5. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    6. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames