org.hibernate.exception.GenericJDBCException: Cannot open connection

alfresco.com | 4 months ago
  1. 0

    'alfresco.alf_store' doesn't exist and other errors | Alfresco Forums

    alfresco.com | 4 months ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  2. 0

    www.ephesoft.com/forums • View topic - Ephesoft Community Edition Source Code on Google Code!

    ephesoft.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [META-INF/dcma-data-access/dcma-dao.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Connections could not be acquired from the underlying database!; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Can't connect to MySQL server at 127.0.0.1 using c3p0

    Stack Overflow | 2 years ago
    java.sql.SQLException: Connections could not be acquired from the underlying database!
  5. 0

    Bug, exception maluca ao acessar a apliacação

    com.br | 1 year ago
    org.apache.jasper.JasperException: javax.servlet.ServletException: Error creating bean with name 'mBeanLogin': Invocation of init method failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection

    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. com.mchange.v2.resourcepool.CannotAcquireResourceException

      A ResourcePool could not acquire a resource from its primary factory or source.

      at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable()
    2. c3p0:JDBC DataSources/Resource Pools
      ComboPooledDataSource.getConnection
      1. com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1002)
      2. com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:293)
      3. com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:348)
      4. com.mchange.v2.c3p0.PoolBackedDataSource.getConnection(PoolBackedDataSource.java:120)
      5. com.mchange.v2.c3p0.ComboPooledDataSource.getConnection(ComboPooledDataSource.java:601)
      5 frames
    3. Hibernate
      LocalDataSourceConnectionProvider.getConnection
      1. org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:80)
      1 frame
    4. Hibernate
      JDBCTransaction.begin
      1. org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:417)
      2. org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
      3. org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:129)
      4. org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)
      4 frames
    5. Hibernate
      SessionImpl.beginTransaction
      1. org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1290)
      1 frame
    6. Hibernate
      HibernateTransactionManager.doBegin
      1. org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:520)
      1 frame
    7. Spring Tx
      TransactionAspectSupport.createTransactionIfNecessary
      1. org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:282)
      2. org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:225)
      2 frames
    8. org.alfresco.util
      SpringAwareUserTransaction.begin
      1. org.alfresco.util.transaction.SpringAwareUserTransaction.begin(SpringAwareUserTransaction.java:348)
      1 frame
    9. org.alfresco.repo
      DictionaryRepositoryBootstrap.bootstrap
      1. org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:167)
      2. org.alfresco.repo.transaction.TransactionUtil.executeInUserTransaction(TransactionUtil.java:74)
      3. org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap.bootstrap(DictionaryRepositoryBootstrap.java:126)
      3 frames
    10. 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
    11. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1093)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1063)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
      6. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
      6 frames
    12. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
      1 frame
    13. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
      2. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
      3. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
      4. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
      4 frames
    14. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3692)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4127)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      6. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:910)
      7. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:873)
      8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
      9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
      10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
      11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
      13. org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
      15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
      16. org.apache.catalina.core.StandardService.start(StandardService.java:450)
      17. org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
      18. org.apache.catalina.startup.Catalina.start(Catalina.java:536)
      18 frames
    15. 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
    16. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      2 frames