Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. RmiDataSource.getConnection() has thrown an OracleXAException
    Unsorted
    2
    0
    0
  2. The Oracle XA library is not configured properly to use
    Oracle JDBC Driver
    12
    0
    21

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
oracle.jdbc.xa.OracleXAException
    at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1229)
    at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:246)
    at weblogic.jdbc.jta.DataSource.start(DataSource.java:830)
    at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1311)
11 frames hidden

Solution

Liam3 months ago

The Oracle XA library is an interface to handle the global transactions between the Oracle database server and other databasse entities. It must be configured correctly.

Below samples shown the exception and the resolution:

Exception message: oracle.jdbc.xa.OracleXAException

  • Logged into Oracle database as user SYSOPER or SYSDBA, and run the oracle config script to setup the XA on the database.
  • The config scripts are initxa.sql and initjvm.sql

Exception message: oracle.jdbc.xa.OracleXAException: null

  • The oracle.jdbc.xa.OracleXAException shown "null" exception message.
  • Oracle specific APIs are required to extract the underlying error code(s).
  • The information is available at the link below:

http://docs.oracle.com/cd/E18283_01/appdev.112/e13995/oracle/jdbc/xa/OracleXAException.html

External results for this pattern (10)

  1. XA resource 'oracle': resume for XID '31302E3138352E392E3134312E746D313532373036343232313832393137353835:31302E3138352E392E3134312E746D3839' raised -4: the supplied XID is invalid for this XA resource
    Show stack trace
  2. Unknown authorvia atomikos.com5 months ago
    No message found for this stack trace.
    Show stack trace
  3. Unknown authorvia atomikos.com5 months ago
    No message found for this stack trace.
    Show stack trace
  4. Unknown authorvia atomikos.com5 months ago
    No message found for this stack trace.
    Show stack trace
  5. Unknown authorvia oracle.com5 months ago
    No message found for this stack trace.
    Show stack trace
  6. Unknown authorvia co.jp5 months ago
    No message found for this stack trace.
    Show stack trace
  7. Unknown authorvia oracle.com5 months ago
    No message found for this stack trace.
    Show stack trace
  8. Unknown authorvia oracle.com5 months ago
    No message found for this stack trace.
    Show stack trace
  9. Akhil Nagpalvia Google Groups5 months ago
  10. Akhil Nagpalvia Google Groups5 months ago
    No message found for this stack trace.
    Show stack trace