javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: artemis.lib.util.ArtemisException: Wrapped Ex ception: java.sql.SQLException(Error in allocating a connection. Cause: java.lang.IllegalStateException: [b]Wrong XAState: 0[/b]) artemis.lib.util.ArtemisException: Wrapped Exception: java.sql.SQLException(Error in allocating a connection. Cause: java.lang.IllegalStateEx ception: Wrong XAState: 0)

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Wrong xastate error...
    via by amardeepsingh,
    • javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: artemis.lib.util.ArtemisException: Wrapped Ex ception: java.sql.SQLException(Error in allocating a connection. Cause: java.lang.IllegalStateException: [b]Wrong XAState: 0[/b]) artemis.lib.util.ArtemisException: Wrapped Exception: java.sql.SQLException(Error in allocating a connection. Cause: java.lang.IllegalStateEx ception: Wrong XAState: 0) at artemis.lib.util.ResourceAllocator.allocateSqlConnection(ResourceAllocator.java:143) at artemis.lib.ejb.ArtemisBean.allocateSqlConnection(ArtemisBean.java:114) at artemis.ejb.business.events.EventNote.EventNoteBean.getNewNoteIdAndTimestampCreated(EventNoteBean.java:210) at artemis.ejb.business.events.EventNote.EventNoteBean.insertEventNote(EventNoteBean.java:146) at sun.reflect.GeneratedMethodAccessor487.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067) at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176) at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2895) at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3986) at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:203) at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:120) at $Proxy553.insertEventNote(Unknown Source) at sun.reflect.GeneratedMethodAccessor486.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:233) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152) at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
    No Bugmate found.