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 amardeepsingh, 1 year ago
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
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)