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

Oracle Community | myjavahelp | 8 years ago
  1. 0

    java.sql.SQLException(Error in allocating a connection)

    Oracle Community | 8 years ago | myjavahelp
    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
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Is there a way to get Glassfish to automatically re-connect to SQL Server?

    Oracle Community | 5 years ago | cain05
    java.sql.SQLException: Error in allocating a connection. Cause: java.lang.IllegalStateException: Wrong XAState: 3

    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. 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()
    2. Embedded GlassFish Web
      TransactionImpl.enlistResource
      1. com.sun.jts.jta.TransactionState.startAssociation(TransactionState.java:323)
      2. com.sun.jts.jta.TransactionImpl.enlistResource(TransactionImpl.java:205)
      2 frames
    3. com.sun.enterprise
      J2EETransactionManagerOpt.enlistResource
      1. com.sun.enterprise.distributedtx.J2EETransaction.enlistResource(J2EETransaction.java:562)
      2. com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.enlistResource(J2EETransactionManagerImpl.java:372)
      3. com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource(J2EETransactionManagerOpt.java:169)
      3 frames
    4. Connectors Runtime
      ConnectionManagerImpl.allocateConnection
      1. com.sun.enterprise.resource.SystemResourceManagerImpl.enlistResource(SystemResourceManagerImpl.java:98)
      2. com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:216)
      3. com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:327)
      4. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:189)
      5. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
      6. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:158)
      6 frames
    5. Embedded GlassFish Web
      DataSource.getConnection
      1. com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:108)
      1 frame