org.hibernate.exception.GenericJDBCException

Cannot open connection


Solutions on the web770

Solution icon of coderanch
via Coderanch by Chris Johnston, 7 months ago
Cannot open connection

Solution icon of coderanch
via Coderanch by ilyas besli, 7 months ago
Cannot open connection

Solution icon of coderanch
via Coderanch by Markus Hansen, 8 months ago
Cannot open connection

Solution icon of coderanch
via Coderanch by Prasanna Lakshmi Tallapaka, 7 months ago
Cannot open connection

Solution icon of coderanch
via Coderanch by raj jaiswal, 7 months ago
Cannot open connection

Solution icon of coderanch
via Coderanch by rajiv jackz, 7 months ago
Cannot open connection

Solution icon of coderanch
via Coderanch by Ben Anis, 7 months ago
Cannot open connection

Solution icon of coderanch
Cannot open connection

Solution icon of coderanch
via Coderanch by Priya Parthiban, 8 months ago
Cannot open connection

Solution icon of coderanch
via Coderanch by nisu pathak, 8 months ago
Cannot open connection

Stack trace

  • org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:142) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:85) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1354) at com.aexp.freelancerdb.dao.PositionDAO.getPositionsList(PositionDAO.java:47) at com.aexp.freelancerdb.forms.ShowList.doPost(ShowList.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at com.aexp.freelancerdb.servlet.Controller.doPost(Controller.java:79) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
17 more bugmates