javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory])

sourceforge.net | 7 months 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

    JBoss Community / Mailing Lists

    sourceforge.net | 7 months ago
    javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory])
  2. 0

    Problem with IIOP/JAAS during lookup

    Oracle Community | 1 decade ago | 666705
    javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassCastException]
  3. 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]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

    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: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]

      at javax.naming.spi.NamingManager.getInitialContext()
    2. Java RT
      InitialContext.<init>
      1. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
      2. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
      3. javax.naming.InitialContext.init(InitialContext.java:219)
      4. javax.naming.InitialContext.<init>(InitialContext.java:175)
      4 frames
    3. JBoss Application Server Server
      AbstractWebContainer$DescriptorParser.parseWebAppDescriptors
      1. org.jboss.web.AbstractWebContainer.parseWebAppDescriptors(AbstractWebContainer.java:593)
      2. org.jboss.web.AbstractWebContainer$DescriptorParser.parseWebAppDescriptors(AbstractWebContainer.java:1116)
      2 frames
    4. org.jboss.jetty
      JBossWebApplicationContext.startHandlers
      1. org.jboss.jetty.JBossWebApplicationContext.setUpENC(JBossWebApplicationContext.java:313)
      2. org.jboss.jetty.JBossWebApplicationContext.startHandlers(JBossWebApplicationContext.java:275)
      2 frames
    5. org.mortbay.http
      HttpContext.start
      1. org.mortbay.http.HttpContext.start(HttpContext.java:1740)
      1 frame
    6. Jetty Server
      WebApplicationContext.start
      1. org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:471)
      1 frame
    7. org.mortbay.j2ee
      J2EEWebApplicationContext.start
      1. org.mortbay.j2ee.J2EEWebApplicationContext.start(J2EEWebApplicationContext.java:85)
      1 frame
    8. org.jboss.jetty
      JettyService.performDeploy
      1. org.jboss.jetty.Jetty.deploy(Jetty.java:409)
      2. org.jboss.jetty.JettyService.performDeploy(JettyService.java:243)
      2 frames
    9. JBoss Application Server Server
      AbstractWebContainer.start
      1. org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:457)
      1 frame
    10. JBoss Application Server System JMX
      MainDeployer.addDeployer
      1. org.jboss.deployment.MainDeployer.start(MainDeployer.java:812)
      2. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:624)
      3. org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:233)
      3 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    12. org.jboss.mx
      ReflectedMBeanDispatcher.invoke
      1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      1 frame
    13. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      1 frame
    14. org.jboss.util
      MBeanProxy.invoke
      1. org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      1 frame
    15. Unknown
      $Proxy38.addDeployer
      1. $Proxy38.addDeployer(Unknown Source)
      1 frame
    16. JBoss Application Server System JMX
      SubDeployerSupport.startService
      1. org.jboss.deployment.SubDeployerSupport.startService(SubDeployerSupport.java:105)
      1 frame
    17. org.jboss.jetty
      JettyService.startService
      1. org.jboss.jetty.JettyService.startService(JettyService.java:172)
      1 frame
    18. JBoss Application Server System
      ServiceMBeanSupport.start
      1. org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
      1 frame
    19. 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:324)
      4 frames
    20. org.jboss.mx
      ReflectedMBeanDispatcher.invoke
      1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      1 frame
    21. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      1 frame
    22. JBoss Application Server System
      ServiceController$ServiceProxy.invoke
      1. org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:960)
      1 frame
    23. Unknown
      $Proxy9.start
      1. $Proxy9.start(Unknown Source)
      1 frame
    24. JBoss Application Server System
      ServiceController.start
      1. org.jboss.system.ServiceController.start(ServiceController.java:387)
      1 frame
    25. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    26. org.jboss.mx
      ReflectedMBeanDispatcher.invoke
      1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      1 frame
    27. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      1 frame
    28. org.jboss.util
      MBeanProxy.invoke
      1. org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      1 frame
    29. Unknown
      $Proxy5.start
      1. $Proxy5.start(Unknown Source)
      1 frame
    30. JBoss Application Server System JMX
      MainDeployer.deploy
      1. org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
      2. org.jboss.deployment.MainDeployer.start(MainDeployer.java:812)
      3. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:624)
      4. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
      4 frames
    31. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    32. org.jboss.mx
      ReflectedMBeanDispatcher.invoke
      1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      1 frame
    33. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      1 frame
    34. org.jboss.util
      MBeanProxy.invoke
      1. org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      1 frame
    35. Unknown
      $Proxy7.deploy
      1. $Proxy7.deploy(Unknown Source)
      1 frame
    36. org.jboss.deployment
      AbstractDeploymentScanner$ScannerThread.run
      1. org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:392)
      2. org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:611)
      3. org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:464)
      4. org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:187)
      5. org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:197)
      6. org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:177)
      6 frames