org.hibernate.exception.GenericJDBCException: Cannot open connection

alfresco.com | 3 months ago
  1. 0

    Error starting Alfresco - cannot open Hibernate session | Alfresco Forums

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

    Error starting Alfresco - cannot open Hibernate session | Alfresco Forums

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

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

    alfresco.com | 4 months ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Alfresco ECMS Community Network 2.0 problem | Alfresco Forums

    alfresco.com | 12 months ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  6. 0

    Errors on registration form (at least on demo server), and a complaint about age fields - Bahmni - OpenMRS Talk

    openmrs.org | 3 months ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection

  1. esaar 4 times, last 4 months ago
  2. qavid 2 times, last 7 months ago
1 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.exception.GenericJDBCException

    Cannot open connection

    at org.hibernate.exception.SQLStateConverter.handledNonSpecificException()
  2. Hibernate
    JDBCTransaction.begin
    1. org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
    2. org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
    3. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
    4. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
    5. org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:420)
    6. org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
    7. org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)
    8. org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)
    8 frames
  3. Hibernate
    SessionImpl.beginTransaction
    1. org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)
    1 frame
  4. Hibernate
    HibernateTransactionManager.doBegin
    1. org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:497)
    1 frame
  5. Spring Tx
    TransactionAspectSupport.createTransactionIfNecessary
    1. org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:349)
    2. org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:255)
    3. org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:214)
    3 frames
  6. org.alfresco.util
    SpringAwareUserTransaction.begin
    1. org.alfresco.util.transaction.SpringAwareUserTransaction.begin(SpringAwareUserTransaction.java:380)
    1 frame
  7. org.alfresco.repo
    DictionaryRepositoryBootstrap.bootstrap
    1. org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:238)
    2. org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:171)
    3. org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap.bootstrap(DictionaryRepositoryBootstrap.java:134)
    3 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. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1160)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1122)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:429)
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
    7. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)
    9. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:273)
    9 frames
  10. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
    1 frame
  11. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
    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
  12. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
    6. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
    7. org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
    8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
    9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
    10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
    12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
    13. org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
    14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    16. org.apache.catalina.core.StandardService.start(StandardService.java:448)
    17. org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    18. org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    18 frames
  13. 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
  14. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    2 frames