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)

Oracle Community | amardeepsingh | 8 years ago
  1. 0

    Wrong xastate error...

    Oracle Community | 8 years ago | 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)
  2. 0

    Help!!! Problems with client demarcation transactions

    Oracle Community | 8 years ago | viniciusjssouza
    javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b04-fcs (04/17/2008))): oracle.toplink.essentials.exceptions.DatabaseException > Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction. > Error Code: 0 > Local Exception Stack: > Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b04-fcs (04/17/2008))): oracle.toplink.essentials.exceptions.DatabaseException > Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction. > Error Code: 0 >
  3. 0

    Help!!! Problems with client demarcation transactions

    Oracle Community | 8 years ago | viniciusjssouza
    javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b04-fcs (04/17/2008))): oracle.toplink.essentials.exceptions.DatabaseException Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction. Error Code: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Help!!! Problems with client demarcation transactions

    Oracle Community | 8 years ago | viniciusjssouza
    javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b04-fcs (04/17/2008))): oracle.toplink.essentials.exceptions.DatabaseException > Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction. > Error Code: 0 >
  6. 0

    Java user-defined transaction management not working correctly???

    Oracle Community | 1 decade ago | 843854
    javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: javax.ejb.EJBException: ejbCreate: Connection previously closed, open another Connection

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. artemis.lib.util
      ResourceAllocator.allocateSqlConnection
      1. artemis.lib.util.ResourceAllocator.allocateSqlConnection(ResourceAllocator.java:143)
      1 frame
    3. artemis.lib.ejb
      ArtemisBean.allocateSqlConnection
      1. artemis.lib.ejb.ArtemisBean.allocateSqlConnection(ArtemisBean.java:114)
      1 frame
    4. artemis.ejb.business
      EventNoteBean.insertEventNote
      1. artemis.ejb.business.events.EventNote.EventNoteBean.getNewNoteIdAndTimestampCreated(EventNoteBean.java:210)
      2. artemis.ejb.business.events.EventNote.EventNoteBean.insertEventNote(EventNoteBean.java:146)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor487.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    6. com.sun.enterprise
      EJBSecurityManager.runMethod
      1. com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
      1 frame
    7. Security Core Classes
      SecurityUtil.invoke
      1. com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
      1 frame
    8. Embedded GlassFish Web
      EJBObjectInvocationHandler.invoke
      1. com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2895)
      2. com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3986)
      3. com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:203)
      4. com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:120)
      4 frames
    9. Unknown
      $Proxy553.insertEventNote
      1. $Proxy553.insertEventNote(Unknown Source)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor486.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    11. glassfish-corba-orb
      StubInvocationHandlerImpl.invoke
      1. com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:233)
      2. com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
      2 frames
    12. com.sun.corba
      BCELStubBase.invoke
      1. com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
      1 frame