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

Oracle Community | viniciusjssouza | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Help!!! Problems with client demarcation transactions

    Oracle Community | 8 years ago | viniciusjssouza
    java.sql.SQLException: Error in allocating a connection. Cause: java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction. >
  2. 0

    RollBackException

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

    Cannot access to JDBC Resource from application client

    Oracle Community | 8 years ago | 800776
    java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : org.postgresql.ds.PGSimpleDataSource
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Query.executeUpdate() results in XAResource exception

    Stack Overflow | 8 years ago | Steve Kuo
    java.sql.SQLException: Error in allocating a connection. Cause: java.lang.RuntimeException: Got exception during XAResource.start:
  6. 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

    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