ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Maves" <nathan.ma...@gmail.com>
Subject Re: "Connection already closed"
Date Mon, 28 Apr 2008 11:39:24 GMT
logging is always a good start but if you want help from us we need a little
more information.  post your sqlmaps and you java code executing it.
Nathan

On Fri, Apr 18, 2008 at 10:43 PM, Reuben Firmin <reubenf@benetech.org>
wrote:

> I'm using Ibatis 2.3.1. I've recently started getting this error; any
> ideas on how to debug?
>
> java.sql.SQLException: Already closed.
> org.apache.commons.dbcp.PoolableConnection:84 close
> org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper:181
> close
> org.springframework.jdbc.datasource.DataSourceUtils:313
> doReleaseConnection
> org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler:200
> invoke
> $Proxy0:-1 close
> sun.reflect.NativeMethodAccessorImpl:-2 invoke0
> sun.reflect.NativeMethodAccessorImpl:39 invoke
> sun.reflect.DelegatingMethodAccessorImpl:25 invoke
> java.lang.reflect.Method:585 invoke
> com.ibatis.common.jdbc.logging.ConnectionLogProxy:68 invoke
> $Proxy1:-1 close
> com.ibatis.sqlmap.engine.transaction.external.ExternalTransaction:82 close
> com.ibatis.sqlmap.engine.transaction.TransactionManager:93 end
> com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate:734 endTransaction
> com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl:176 endTransaction
> com.ibatis.sqlmap.engine.impl.SqlMapClientImpl:153 endTransaction
> com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate:835
> autoEndTransaction
> com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate:525 queryForObject
> com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate:493 queryForObject
> com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl:106 queryForObject
> com.ibatis.sqlmap.engine.impl.SqlMapClientImpl:82 queryForObject

Mime
View raw message