org.hibernate.HibernateException: Could not find datasource

Oracle Community | 807581 | 1 decade ago
  1. 0

    Connection fail with Hibernate

    Oracle Community | 1 decade ago | 807581
    org.hibernate.HibernateException: Could not find datasource
  2. 0

    Can't get DataSource via JNDI

    Oracle Community | 10 years ago | zambizzi
    javax.naming.NameNotFoundException: No object bound to name java:comp/env/MyDataSource
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [#GLASSFISH-17017] javax.naming.NameNotFoundException: UserManager not found er Glassfiror getting while migrating my ear application from Jboss to Glassfish

    java.net | 1 year ago
    com.gehc.sf.service.ServiceException: javax.naming.NameNotFoundException: No object bound to name java:global/sawfish/sawfishejb/UserManagerHome!com.gehc.sf.user.ejb.UserManagerHome

    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.NameNotFoundException

      No object bound to name java:/comp/env/jdbc/cis

      at com.sun.enterprise.naming.NamingManagerImpl.lookup()
    2. Glassfish Naming
      NamingManagerImpl.lookup
      1. com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:751)
      1 frame
    3. com.sun.enterprise
      javaURLContext.lookup
      1. com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:190)
      1 frame
    4. Glassfish Naming
      SerialContext.lookup
      1. com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:307)
      1 frame
    5. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:351)
      1 frame
    6. Hibernate
      ConnectionProviderFactory.newConnectionProvider
      1. org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
      2. org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
      3. org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
      3 frames
    7. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:385)
      2. org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61)
      3. org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928)
      4. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211)
      4 frames
    8. my.com.snt
      HibernateFilter.doFilter
      1. my.com.snt.util.HibernateUtil.<clinit>(HibernateUtil.java:33)
      2. my.com.snt.cis.filter.HibernateFilter.doFilter(HibernateFilter.java:21)
      2 frames
    9. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
      4. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
      6. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
      7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
      8. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      8 frames
    10. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
      1 frame
    11. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      2 frames
    12. Glassfish
      VirtualServerPipeline.invoke
      1. com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
      1 frame
    13. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
      2. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
      5 frames
    14. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
      1 frame
    15. Glassfish Core
      WorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
      2. com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
      3. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
      4. com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
      5. com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
      6. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
      7. com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
      7 frames