net.sf.hibernate.HibernateException: Could not find datasource

runawfe | *anonymous | 1 decade 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

    recompilation & deploiment

    runawfe | 1 decade ago | *anonymous
    net.sf.hibernate.HibernateException: Could not find datasource
  2. 0

    Hibernate Community • View topic - could not instantiate CacheProvider

    hibernate.org | 9 months ago
    net.sf.hibernate.HibernateException: could not instantiate CacheProvider: net.sf.hibernate.cache.HashtableCacheProvider
  3. 0

    hibernate.properties from hibernate.cfg.xml

    wsabi4axis | 1 decade ago | mikeoliveraz
    net.sf.hibernate.HibernateException: Could not instantiate connection provider: com.liferay.util.dao.hibernate.DSConnectionProvider
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    hibernate classloader

    wsabi4axis | 1 decade ago | mikeoliveraz
    net.sf.hibernate.HibernateException: Could not instantiate connection provider: com.liferay.util.dao.hibernate.DSConnectionProvider
  6. 0

    Database Options

    wsabi4axis | 1 decade ago | mikeoliveraz
    net.sf.hibernate.HibernateException: Could not instantiate connection provider: com.liferay.util.dao.hibernate.DSConnectionProvider

    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. net.sf.hibernate.HibernateException

      Could not find datasource

      at net.sf.hibernate.connection.DatasourceConnectionProvider.configure()
    2. net.sf.hibernate
      Configuration.buildSessionFactory
      1. net.sf.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:48)
      2. net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:83)
      3. net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)
      4. net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1172)
      5. net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:803)
      5 frames
    3. org.jbpm.persistence
      HibernateSessionFactory.<init>
      1. org.jbpm.persistence.hibernate.HibernateSessionFactory.initialize(HibernateSessionFactory.java:39)
      2. org.jbpm.persistence.hibernate.HibernateSessionFactory.<init>(HibernateSessionFactory.java:25)
      2 frames
    4. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      4 frames
    5. org.jbpm
      JbpmConfiguration.<init>
      1. org.jbpm.JbpmConfiguration.instantiate(JbpmConfiguration.java:495)
      2. org.jbpm.JbpmConfiguration.instantiateConfiguredObjects(JbpmConfiguration.java:455)
      3. org.jbpm.JbpmConfiguration.<init>(JbpmConfiguration.java:247)
      3 frames
    6. ru.runa.wf
      JbpmInitializerLogic.createTablesInternal
      1. ru.runa.wf.logic.WFJbpmConfiguration.getConfiguration(WFJbpmConfiguration.java:37)
      2. ru.runa.wf.logic.JbpmInitializerLogic.createTablesInternal(JbpmInitializerLogic.java:39)
      2 frames
    7. ru.runa.af
      InitializerServiceBean.init
      1. ru.runa.af.logic.InitializerLogic.init(InitializerLogic.java:56)
      2. ru.runa.af.service.impl.ejb.InitializerServiceBean.init(InitializerServiceBean.java:68)
      2 frames
    8. 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:585)
      4 frames
    9. JBoss Application Server Server
      StatelessSessionContainer$ContainerInterceptor.invoke
      1. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
      1 frame
    10. JBoss Application Server Connector
      CachedConnectionInterceptor.invoke
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      1 frame
    11. JBoss Application Server Server
      Container.invoke
      1. org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
      2. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
      3. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:317)
      4. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:150)
      5. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111)
      6. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
      7. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      8. org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
      9. org.jboss.ejb.Container.invoke(Container.java:709)
      9 frames
    12. 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:585)
      4 frames
    13. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      2. org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
      3. org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
      4. org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
      5. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
      6. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      6 frames
    14. JBoss Application Server Server
      ClientContainer.invoke
      1. org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97)
      2. org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:115)
      3. org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:101)
      4. org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
      5. org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
      6. org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
      7. org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
      7 frames
    15. Unknown
      $Proxy67.init
      1. $Proxy67.init(Unknown Source)
      1 frame
    16. ru.runa.af
      InitializerServiceDelegateRemoteImpl.init
      1. ru.runa.af.delegate.impl.InitializerServiceDelegateRemoteImpl.init(InitializerServiceDelegateRemoteImpl.java:80)
      1 frame
    17. ru.runa.wf
      InitializerServlet.init
      1. ru.runa.wf.web.servlet.InitializerServlet.init(InitializerServlet.java:48)
      1 frame
    18. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:211)
      1 frame
    19. Glassfish Core
      StandardHost.addChild
      1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
      2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:876)
      3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4017)
      4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
      5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
      6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
      7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
      7 frames
    20. 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:585)
      4 frames
    21. Commons Modeler
      BaseModelMBean.invoke
      1. org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      1 frame
    22. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:149)
      2. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      2 frames
    23. Glassfish Core
      StandardContext.init
      1. org.apache.catalina.core.StandardContext.init(StandardContext.java:5456)
      1 frame
    24. 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:585)
      4 frames
    25. Commons Modeler
      BaseModelMBean.invoke
      1. org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      1 frame
    26. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:149)
      2. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      2 frames
    27. org.jboss.web
      TomcatDeployer.performDeploy
      1. org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:324)
      2. org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:83)
      2 frames
    28. JBoss Application Server Server
      WebModule.startService
      1. org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:320)
      2. org.jboss.web.WebModule.startModule(WebModule.java:62)
      3. org.jboss.web.WebModule.startService(WebModule.java:40)
      3 frames
    29. JBoss Application Server System
      ServiceMBeanSupport.jbossInternalLifecycle
      1. org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
      2. org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
      2 frames
    30. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    31. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      2. org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
      3. org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
      4. org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
      5. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
      6. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      6 frames
    32. JBoss Application Server System
      ServiceController$ServiceProxy.invoke
      1. org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:899)
      1 frame
    33. Unknown
      $Proxy18.start
      1. $Proxy18.start(Unknown Source)
      1 frame
    34. JBoss Application Server System
      ServiceController.start
      1. org.jboss.system.ServiceController.start(ServiceController.java:415)
      1 frame
    35. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    36. JBoss Application Server J2SE
      Invocation.invoke
      1. org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      2. org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
      3. org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
      4. org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
      4 frames