org.hibernate.engine.jndi.JndiException: Unable to open InitialContext

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

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

    sourceforge.net | 1 year ago
    org.hibernate.engine.jndi.JndiException: Unable to open InitialContext
  2. 0

    Deploy en Jetty. No realiza deploy

    openxava | 2 years ago | gregonzalezg
    org.hibernate.engine.jndi.JndiException: Unable to open InitialContext
  3. 0

    Spring with multiple persistence units defined in persistence.xml

    Stack Overflow | 3 years ago | Andrei I
    org.hibernate.engine.jndi.JndiException: Unable to lookup JNDI name [java:comp/env/jdbc/diStoreHvt]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    hibernate - Spring with multiple persistence units defined in persistence.xml - Stack Overflow

    xluat.com | 1 year ago
    org.hibernate.engine.jndi.JndiException: Unable to lookup JNDI name [java:comp/env/jdbc/diStoreHvt]

    3 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. org.hibernate.engine.jndi.JndiException

      Unable to open InitialContext

      at org.hibernate.engine.jndi.internal.JndiServiceImpl.buildInitialContext()
    2. org.hibernate.engine
      DatasourceConnectionProviderImpl.configure
      1. org.hibernate.engine.jndi.internal.JndiServiceImpl.buildInitialContext(JndiServiceImpl.java:129)
      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
    3. org.hibernate.boot
      StandardServiceRegistryImpl.configureService
      1. org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)
      1 frame
    4. 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
    5. org.hibernate.boot
      StandardServiceRegistryImpl.configureService
      1. org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)
      1 frame
    6. 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
    7. 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
    8. org.hibernate.boot
      ClassLoaderServiceImpl.withTccl
      1. org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:425)
      1 frame
    9. 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
    10. Hibernate EJB
      HibernatePersistence.createEntityManagerFactory
      1. org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:54)
      1 frame
    11. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:55)
      1 frame
    12. 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
    13. 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
    14. 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
    15. 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
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame