org.hibernate.exception.GenericJDBCException - Structural Java Exception Search

InterruptedException -> SQLException -> GenericJDBCException with Hibernate running on Tomcat

Hi! Lots of different GenericJDBCExceptions out there... How to find the one *you* are currently troubleshooting:

Use BrainLeg's structural exception search: Search by your entire Exception Stacktrace, and get more accurate results! Searching by error messages or stack trace lines is so 1999. We focus on only one thing & do it well - java exceptions search

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:426)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)
at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)
at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)
at big.commun.data.BigObjet.getSession(BigObjet.java:1808)
at big.commun.auth.BigAuth.getSession(BigAuth.java:69)
at big.commun.auth.BigAuth.SelectUser(BigAuth.java:159)
at big.commun.auth.BigAuthAction.processRequest(BigAuthAction.java:46)
at auth.AuthAction.processRequest(AuthAction.java:22)
at big.commun.data.BigActionServer.doPost(BigActionServer.java:251)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
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.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)

Caused by: java.sql.SQLException: An SQLException was provoked by the following failure: java.lang.InterruptedException

at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:65)
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:62)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:531)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:56)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
... 24 more

Caused by: java.lang.InterruptedException

at java.lang.Object.wait(Native Method)
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1315)
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
... 27 more

4 Replies in Object Relational Mapping --> or

Search for a Java Exception Stacktrace Structurally!

Paste your entire exception stacktrace with the exception message—you don't have to make it neat, we’ll parse it.

Or... try our search on a sample exception!

Search only in My Private Exception Repo (what is this?)

What is indexed?

Currently the following sites are indexed:

Let us know which sites or forums or mail lists you would like us to index next! And, if you like our idea please spread the word!

Color legend

If you would like to add a library or suggest a different color scheme let us know!

  • java.lang.reflect.Method.invoke(Method.java:597) - JDK and Groovy
  • com.google.common.base.Joiner.appendTo(Joiner.java:94) - Well-known libraries and utilities
  • org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644) - Frameworks
  • weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) - Containers and app servers