java.lang.IllegalStateException: Wrong XAState: 0)[/b] Stacktrace - ---------------------------------------------------------------------------------------------------------------------------- [#|2008-10-13T10:41:26.475-0400|SEVERE|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=23;_ThreadName=p: thread-pool-1; w: 9;_RequestID=e70b464f-c2de-4db1-a46b-f2e4860a2961;|RAR5027:Unexpected exception in resource pooling java.lang.IllegalStateException: Wrong XAState: 0

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 Oracle Community by myjavahelp, 1 year ago
|javax.enterprise.resource.resourceadapter|_ThreadID=23;_ThreadName=p: thread-pool-1; w: 9;_RequestID=e70b464f-c2de-4db1-a46b-f2e4860a2961;|RAR5027:Unexpected exception in resource pooling java.lang.IllegalStateException: Wrong XAState: 0
java.lang.IllegalStateException: Wrong XAState: 0)[/b] Stacktrace - ---------------------------------------------------------------------------------------------------------------------------- [#|2008-10-13T10:41:26.475-0400|SEVERE|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=23;_ThreadName=p: thread-pool-1; w: 9;_RequestID=e70b464f-c2de-4db1-a46b-f2e4860a2961;|RAR5027:Unexpected exception in resource pooling java.lang.IllegalStateException: Wrong XAState: 0
at com.sun.jts.jta.TransactionState.startAssociation(TransactionState.java:323)
at com.sun.enterprise.distributedtx.J2EETransaction.enlistResource(J2EETransaction.java:562)
at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.enlistResource(J2EETransactionManagerImpl.java:372)
at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource(J2EETransactionManagerOpt.java:169)
at com.sun.enterprise.resource.SystemResourceManagerImpl.enlistResource(SystemResourceManagerImpl.java:98)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:216)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:327)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:189)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)

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.