java.sql.SQLException: Already closed.

Stack Overflow | 1337GameDev | 5 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Problem in DBCP Connection Pooling with BLOB in Tomcat

    Oracle Community | 8 years ago | 682464
    java.sql.SQLException: Already closed.
  3. 0

    MySQL Connection Timeout Issue - Grails Application on Tomcat using Hibernate and ORM

    Stack Overflow | 7 years ago | gav
    org.hibernate.exception.GenericJDBCException: Cannot release 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. java.sql.SQLException

    Already closed.

    at org.apache.commons.dbcp.PoolableConnection.close()
  2. Commons DBCP
    PoolingDataSource$PoolGuardConnectionWrapper.close
    1. org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:84)
    2. org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.close(PoolingDataSource.java:181)
    2 frames
  3. Spring Framework
    DataSourceTransactionManager.doCleanupAfterCompletion
    1. org.springframework.jdbc.datasource.DataSourceUtils.doReleaseConnection(DataSourceUtils.java:286)
    2. org.springframework.jdbc.datasource.DataSourceUtils.releaseConnection(DataSourceUtils.java:247)
    3. org.springframework.jdbc.datasource.DataSourceTransactionManager.doCleanupAfterCompletion(DataSourceTransactionManager.java:297)
    3 frames
  4. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.support.AbstractPlatformTransactionManager.cleanupAfterCompletion(AbstractPlatformTransactionManager.java:754)
    2. org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:615)
    3. org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:560)
    4. org.springframework.transaction.interceptor.TransactionAspectSupport.doCloseTransactionAfterThrowing(TransactionAspectSupport.java:285)
    5. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:100)
    5 frames
  5. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
    2 frames
  6. Unknown
    $Proxy2.addArchiveRequestEntry
    1. $Proxy2.addArchiveRequestEntry(Unknown Source)
    1 frame
  7. Spring Context Support
    QuartzJobBean.execute
    1. org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:90)
    1 frame
  8. quartz
    SimpleThreadPool$WorkerThread.run
    1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
    2 frames