java.lang.IllegalStateException: Transactions must have a commit() or rollback() in a finally block.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via caucho.com by Unknown author, 1 year ago
via Atlassian JIRA by Furore Jira Admin, 1 year ago
Connection UserConnection[com.caucho.sql.ManagedConnectionImpl@b1221b] was not closed. Connections must have a close() in a finally block.
via roller-user by xuht (sent by Nabble.com), 1 year ago
Connection UserConnection[com.ca ucho.sql.ManagedConnectionImpl@c26ede] was not closed. Connections must have a c lose() in a finally block.
via Oracle Community by 843859, 11 months ago
Connection com.caucho.sql.ManagedConnectionImpl@130453 was not closed. Connections must have a close() in a finally block. [00:38:12.536]
via Oracle Community by 843859, 11 months ago
Connection UserConnectionAdapter[] was not closed. Connections must have a close() in a finall y block. [15:14:52.959]
java.lang.IllegalStateException: Transactions must have a commit() or rollback() in a finally block.
at com.caucho.jca.UserTransactionImpl.abortTransaction(UserTransactionImpl.java:456)
at com.caucho.jca.UserTransactionProxy.abortTransaction(UserTransactionProxy.java:184)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:193)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520)
at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.