org.hibernate.exception.GenericJDBCException: Cannot open connection

tomcat-users | marko lugarič | 3 years ago
  1. 0

    Tomcat connection pool "bleeding" under heavy load

    tomcat-users | 3 years ago | marko lugarič
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  2. 0

    Strange Error:::org.h2.jdbc.JdbcSQLException:

    Google Groups | 9 years ago | dabar
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  3. 0

    Closed connection while opening a new one in Hibernate 3.6.10.Final + c3p0 + struts2

    Stack Overflow | 3 years ago | Simone Buzzi
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unknown hibernate error, connexion pool issue

    Stack Overflow | 3 years ago | user2833875
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  6. 0

    java.sql.SQLException: Login failed for user

    Stack Overflow | 4 years ago | jchoran
    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:140)
    2. org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
    3. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
    4. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
    5. org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
    6. org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    7. org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:142)
    8. org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:85)
    8 frames
  3. Hibernate
    SessionImpl.beginTransaction
    1. org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1463)
    1 frame
  4. Hibernate EJB
    TransactionImpl.begin
    1. org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60)
    2. org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1235)
    3. org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1168)
    4. org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:1245)
    5. org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:63)
    5 frames
  5. com.hsl.chi
    SequenceDAO.internalResetSequence
    1. com.hsl.chi.persistence.dao.jpa.DAO.beginEntityTransaction(DAO.java:1505)
    2. com.hsl.chi.persistence.dao.jpa.DAO.beginFirstSubOperation(DAO.java:992)
    3. com.hsl.chi.persistence.dao.jpa.SequenceDAO.internalResetSequence(SequenceDAO.java:568)
    3 frames