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

Oracle Community | viniciusjssouza | 8 years ago
  1. 0

    Help!!! Problems with client demarcation transactions

    Oracle Community | 8 years ago | viniciusjssouza
    java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction. RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction.] 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
  2. 0

    RollBackException

    Oracle Community | 8 years ago | losintikfos
    java.sql.SQLException: Error in allocating a connection. Cause: null Error Code: 0
  3. 0

    Query.executeUpdate() results in XAResource exception

    Stack Overflow | 7 years ago | Steve Kuo
    java.sql.SQLException: Error in allocating a connection. Cause: java.lang.RuntimeException: Got exception during XAResource.start:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Glassfish Jdbc-connectioPool Issue

    Stack Overflow | 5 years ago | harikrishna
    java.sql.SQLException: Error in allocating a connection. Cause: java.lang.IllegalStateException: Wrong XAState: 0
  6. 0

    OpenESB Community Forum - Connection where not closed

    nabble.com | 6 months ago
    javax.jbi.messaging.MessagingException: Error occured while executing sql.Reason: Error in allocating a connection. Cause: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections. SQLState: null ErrorCode: 0

    1 unregistered visitors
    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.sql.SQLException

      Error in allocating a connection. Cause: java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction.

      at com.sun.gjc.spi.base.DataSource.getConnection()
    2. Embedded GlassFish Web
      DataSource.getConnection
      1. com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:115)
      1 frame
    3. oracle.toplink.essentials
      JNDIConnector.connect
      1. oracle.toplink.essentials.jndi.JNDIConnector.connect(JNDIConnector.java:145)
      1 frame