ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From melwong <m...@pd.jaring.my>
Subject java.sql.SQLException: Already closed.
Date Sun, 08 Feb 2009 01:38:47 GMT


-I'm using iBatis 2.3.4 and DBCP 1.2.2 on Tomcat 6
-When I start Tomcat and run my first request, things went fine
-Then I when i run my second request, error below happened
-My ibatis config file is attached

**********************************
ERROR LOG

java.sql.SQLException: Already closed.
                at
org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:84)
                at
org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.close(PoolingDataSource.java:181)
                at
com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransaction.close(JdbcTransaction.java:81)
                at
com.ibatis.sqlmap.engine.transaction.TransactionManager.end(TransactionManager.java:93)
                at
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.endTransaction(SqlMapExecutorDelegate.java:734)
                at
com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.endTransaction(SqlMapSessionImpl.java:176)
                at
com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.endTransaction(SqlMapClientImpl.java:153)
              at
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.autoEndTransaction(SqlMapExecutorDelegate.java:835)
                at
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.insert(SqlMapExecutorDelegate.java:410)
                at
com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.insert(SqlMapSessionImpl.java:82)
                at
com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.insert(SqlMapClientImpl.java:58)
                at
my.com.justmobile.engine.SSUMEngine.log(SSUMEngine.java:408)
                at
my.com.justmobile.engine.SSUMEngine.validate(SSUMEngine.java:292)
                at
my.com.justmobile.engine.SSUMEngine.process(SSUMEngine.java:205)
                at
my.com.justmobile.SSUMServlet.processRequest(SSUMServlet.java:145)
                at my.com.justmobile.SSUMServlet.doGet(SSUMServlet.java:242)
                at
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
                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.Http11AprProcessor.process(Http11AprProcessor.java:852)
                at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:584)
                at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
                at java.lang.Thread.run(Thread.java:619)

-- 
View this message in context: http://www.nabble.com/java.sql.SQLException%3A-Already-closed.-tp21895010p21895010.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message