java.sql.SQLException: Error in allocating a connection. Cause: java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction. >

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 Oracle Community by viniciusjssouza, 1 year ago
Error in allocating a connection. Cause: java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction. >
via blogspot.com by Unknown author, 1 year ago
Error in allocating a connection. Cause: No PasswordCredential found
via Oracle Community by hughacland, 1 year ago
Error in allocating a connection. Cause: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections.
via Oracle Community by sol1001, 1 year ago
Error in allocating a connection. Cause: Connection could not be allocated because: Communications link failure Last packet sent to the server was 0 ms ago.
via Oracle Community by 800808, 1 year ago
Error in allocating a connection. Cause: java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction. Error Code: 0 Call: INSERT INTO EmployeeDB.Project (ID, NAME) VALUES (?, ?) bind => [2 parameters bound] Query: InsertObjectQuery(domain.Project@19d2d53) vmcid: OMG minor code: 2 completed: Maybe
via Stack Overflow by Omnipresent
, 2 years ago
Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused.
java.sql.SQLException: Error in allocating a connection. Cause: java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction. >
at oracle.toplink.essentials.jndi.JNDIConnector.connect(JNDIConnector.java:145)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

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