org.apache.openjpa.persistence.PersistenceException: Cannot set auto-commit mode when using distributed transactions

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Coderanch by Siphiwe Madi, 1 year ago
Cannot set auto-commit mode when using distributed transactions
via Oracle Community by 815389, 1 year ago
Cannot set auto-commit mode when using distributed transactions [java]
via coderanch.com by Unknown author, 2 years ago
via manning.com by Unknown author, 1 year ago
Cannot set auto-commit mode when using distributed transactions
via nabble.com by Unknown author, 1 year ago
Auto-commit can not be set while enrolled in a transaction
via Coderanch by Stefan Berger, 11 months ago
You cannot set autocommit during a managed transaction!
org.apache.openjpa.persistence.PersistenceException: Cannot set auto-commit mode when using distributed transactions
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1040)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

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.

Write tip

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