hi!

from time to time [ say every 1000th request to one specific servlet ] i see
following exception in resin stdout.log:

[18:33:06.628] [18:33:06.628] {http--8080-19}
java.lang.IllegalStateException: Connection null was not closed. Connections
must have a close() in a finally block.
[18:33:06.628] [18:33:06.628] {http--8080-19}   at
com.caucho.jca.UserTransactionImpl.abortTransaction(UserTransactionImpl.java:533)
[18:33:06.628] [18:33:06.628] {http--8080-19}   at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:206)
[18:33:06.628] [18:33:06.628] {http--8080-19}   at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:264)
[18:33:06.628] [18:33:06.628] {http--8080-19}   at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:280)
[18:33:06.628] [18:33:06.628] {http--8080-19}   at
com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:644)
[18:33:06.628] [18:33:06.628] {http--8080-19}   at
com.caucho.server.port.TcpConnection$AcceptTask.doAccept(TcpConnection.java:1321)
[18:33:06.628] [18:33:06.628] {http--8080-19}   at
com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1262)
[18:33:06.628] [18:33:06.628] {http--8080-19}   at
com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:871)
[18:33:06.628] [18:33:06.628] {http--8080-19}   at
com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:784)

i'm quite sure that my servlet closes connections properly including cases
when exceptions are thrown. i'm quite puzzled especially with "Connection
null was not closed." part.

i'm running resin 4.0, i also tried this with 4.0 snapshot [ 2009.07.21 ].

can you give any hints how can i trace source of this problem?

thanks!
best regards
Pawel Kudzia.
-- 
View this message in context: 
http://www.nabble.com/java.lang.IllegalStateException%3A-Connection-null-was-not-closed.-tp24593349p24593349.html
Sent from the Resin mailing list archive at Nabble.com.



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to