Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via alfresco.com by Unknown author, 1 year ago
via alfresco.com by Unknown author, 2 years ago
via tomcat-users by marko lugarič, 1 year ago
org.hibernate.exception.GenericJDBCException: Cannot open connection	at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:420)	at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)	at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)	at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)	at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)	at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:497)	at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:349)	at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:255)	at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:214)	at org.alfresco.util.transaction.SpringAwareUserTransaction.begin(SpringAwareUserTransaction.java:380)	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:238)	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:171)	at org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap.bootstrap(DictionaryRepositoryBootstrap.java:134)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1160)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1122)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:429)	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:273)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)	at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)	at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)	at org.apache.catalina.core.StandardService.start(StandardService.java:448)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)