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

openxava | gregonzalezg | 2 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

    Deploy en Jetty. No realiza deploy

    openxava | 2 years ago | gregonzalezg
    javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: Could not load requested class : org.jnp.interfaces.NamingContextFactory]
  2. 0

    OpenXava / Discussion / Ayuda (EspaƱol):Deploy en Jetty. No realiza deploy

    sourceforge.net | 1 year ago
    javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory
  3. 0

    javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.naming.java.javaURLContextFactory

    Stack Overflow | 2 years ago | Ashwani Verma
    javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.naming.java.javaURLContextFactory [Root exception is java.lang.ClassNotFoundException: org.apache.naming.java.javaURLContextFactory]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Trying to use Java Message Service (JMS) API with Service Bus and AMQP

    Stack Overflow | 2 years ago | geofrey rainey
    javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.qpid.amqp_1_0.jms.jndi.PropertiesFileInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.apache.qpid.amqp_1_0.jms.jndi.PropertiesFileInitialContextFactory]
  6. 0

    javax.naming.NoInitialContextException in GWT Tomcat

    Google Groups | 1 decade ago | allioop70
    javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]

    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: Could not load requested class : org.jnp.interfaces.NamingContextFactory]

      at javax.naming.spi.NamingManager.getInitialContext()
    2. Java RT
      InitialContext.<init>
      1. javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
      2. javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
      3. javax.naming.InitialContext.init(Unknown Source)
      4. javax.naming.InitialContext.<init>(Unknown Source)
      4 frames
    3. org.hibernate.engine
      DatasourceConnectionProviderImpl.configure
      1. org.hibernate.engine.jndi.internal.JndiServiceImpl.buildInitialContext(JndiServiceImpl.java:126)
      2. org.hibernate.engine.jndi.internal.JndiServiceImpl.locate(JndiServiceImpl.java:111)
      3. org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.configure(DatasourceConnectionProviderImpl.java:115)
      3 frames
    4. org.hibernate.boot
      StandardServiceRegistryImpl.configureService
      1. org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)
      1 frame
    5. Hibernate
      JdbcServicesImpl.configure
      1. org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)
      2. org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)
      3. org.hibernate.engine.jdbc.internal.JdbcServicesImpl.buildJdbcConnectionAccess(JdbcServicesImpl.java:260)
      4. org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:94)
      4 frames
    6. org.hibernate.boot
      StandardServiceRegistryImpl.configureService
      1. org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)
      1 frame
    7. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)
      2. org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)
      3. org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.java:1887)
      4. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1845)
      4 frames
    8. org.hibernate.jpa
      EntityManagerFactoryBuilderImpl$4.perform
      1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:857)
      2. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:850)
      2 frames
    9. org.hibernate.boot
      ClassLoaderServiceImpl.withTccl
      1. org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:425)
      1 frame
    10. org.hibernate.jpa
      HibernatePersistenceProvider.createEntityManagerFactory
      1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:849)
      2. org.hibernate.jpa.HibernatePersistenceProvider.createEntityManagerFactory(HibernatePersistenceProvider.java:75)
      2 frames
    11. Hibernate EJB
      HibernatePersistence.createEntityManagerFactory
      1. org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:54)
      1 frame
    12. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:55)
      1 frame
    13. org.openxava.jpa
      XPersistence.createManager
      1. org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:197)
      2. org.openxava.jpa.XPersistence.createManager(XPersistence.java:112)
      2 frames
    14. org.openxava.annotations
      AnnotatedClassParser.getManagedClassNames
      1. org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingJPA(AnnotatedClassParser.java:2722)
      2. org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:2637)
      2 frames
    15. com.openxava.naviox
      NaviOXFilter.doFilter
      1. com.openxava.naviox.impl.Initializer.init(Initializer.java:20)
      2. com.openxava.naviox.web.NaviOXFilter.doFilter(NaviOXFilter.java:32)
      2 frames
    16. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
      12. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
      13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      14. org.eclipse.jetty.server.Server.handle(Server.java:499)
      15. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
      16. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      17. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      18. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      19. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      19 frames
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame