org.hibernate.exception.GenericJDBCException: Cannot open connection

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via hivmr.com by Unknown author, 1 year ago
via hivmr.com by Unknown author, 1 year ago
Cannot open connection
via hivmr.com by Unknown author, 1 year ago
Cannot open connection
via hivmr.com by Unknown author, 1 year ago
via Google Groups by BozhkoKA, 4 months 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.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1561)
at org.hibernate.loader.Loader.doQuery(Loader.java:661)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1785)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:370)
at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:351)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:122)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:81)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:871)
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:66)
at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$cb896060.equals(generated)
at org.jbpm.util.EqualsUtil.equals(EqualsUtil.java:30)
at org.jbpm.graph.def.GraphElement.equals(GraphElement.java:418)
at org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(generated)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.jbpm.graph.node.TaskNode$$EnhancerByCGLIB$$78d101e.equals(generated)
at org.jbpm.graph.def.Transition.getParent(Transition.java:204)
at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:338)
at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:248)
at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212)
at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182)
at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166)
at org.jbpm.graph.def.Transition.take(Transition.java:106)
at org.jbpm.graph.def.Node.leave(Node.java:382)
at org.jbpm.graph.node.TaskNode.leave(TaskNode.java:198)
at org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke(generated)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$cb896060.leave(generated)
at org.jbpm.graph.exe.Token.signal(Token.java:174)
at org.jbpm.graph.exe.Token.signal(Token.java:145)
at org.jbpm.graph.exe.Token$$FastClassByCGLIB$$74df1c6e.invoke(generated)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$fae2cddc.signal(generated)
at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:420)
at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:359)
at org.jbpm.taskmgmt.exe.TaskInstance$$FastClassByCGLIB$$cb2c21af.invoke(generated)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.jbpm.taskmgmt.exe.TaskInstance$$EnhancerByCGLIB$$cbd8230f.end(generated)
at com.camunda.toolkit.jbpm.service.AdminServicesImpl.endTask(AdminServicesImpl.java:1452)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.