org.hibernate.exception.GenericJDBCException: Cannot open connection

alfresco.com | 8 months 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

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

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

    Error starting Alfresco - cannot open Hibernate session | Alfresco Forums

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

    Error starting Alfresco - cannot open Hibernate session | Alfresco Forums

    alfresco.com | 6 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 | 1 year ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection

  1. esaar 4 times, last 8 months ago
  2. qavid 2 times, last 10 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:129)
    8. org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)
    8 frames
  3. Hibernate
    SessionImpl.beginTransaction
    1. org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1290)
    1 frame
  4. Hibernate
    HibernateTransactionManager.doBegin
    1. org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:520)
    1 frame
  5. 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
  6. org.alfresco.util
    SpringAwareUserTransaction.begin
    1. org.alfresco.util.transaction.SpringAwareUserTransaction.begin(SpringAwareUserTransaction.java:348)
    1 frame
  7. 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
  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: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
  10. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
    1 frame
  11. 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
  12. 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
  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:275)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    2 frames