org.hibernate.exception.GenericJDBCException: Cannot open connection

java2s.com | 7 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

    exception 1 « Exception « JPA Q&A

    java2s.com | 7 months ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  2. 0

    java.sql.SQLException: Login failed for user

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

    Unknown hibernate error, connexion pool issue

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

    Automated exception search integrated into your IDE

  5. 0

    Oracle Listener keeps crashing and getting unresponsive

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

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

    Stack Overflow | 4 years ago | Simone Buzzi
    org.hibernate.exception.GenericJDBCException: Cannot open connection
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:126)
    2. org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
    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:1354)
    1 frame
  4. com.aexp.freelancerdb
    ShowList.doPost
    1. com.aexp.freelancerdb.dao.PositionDAO.getPositionsList(PositionDAO.java:47)
    2. com.aexp.freelancerdb.forms.ShowList.doPost(ShowList.java:68)
    2 frames
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2 frames
  6. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    6 frames
  7. com.aexp.freelancerdb
    Controller.doPost
    1. com.aexp.freelancerdb.servlet.Controller.doPost(Controller.java:79)
    1 frame
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2 frames
  9. Glassfish Core
    ApplicationFilterChain.internalDoFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    1 frame