javax.persistence.PersistenceException: 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 Oracle Community by ido_ran, 1 year ago
org.hibernate.exception.GenericJDBCException: Cannot open connection
via whitestein.com by Unknown author, 1 year ago
org.hibernate.exception.GenericJDBCException: Cannot open connection
via Coderanch by Markus Hansen, 11 months ago
org.hibernate.exception.GenericJDBCException: Cannot open connection
via coderanch.com by Unknown author, 1 year ago
org.hibernate.exception.GenericJDBCException: Cannot open connection
via coderanch.com by Unknown author, 1 year ago
org.hibernate.exception.GenericJDBCException: Cannot open connection
via hibernate.org by Unknown author, 1 year ago
org.hibernate.exception.GenericJDBCException: could not load an entity: [com.gisdata.katastarcg.model.Parcel#component[cadastralMunicipalityId,cantonId,number,subNumber]{subNumber=0, number=191, cadastralMunicipalityId=8, cantonId=70}]
javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
at com.sun.enterprise.naming.impl.TransientContext.doLookup(TransientContext.java:248)
at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:215)
at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:219)
at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:219)
at com.sun.enterprise.naming.impl.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:77)
at com.sun.enterprise.naming.impl.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:119)

Users with the same issue

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
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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