"ORA-02049: timeout: distributed transaction waiting for lock" was thrown from JBoss-EAP server

Solution Verified - Updated -

Issue

  • We had an issue in our production system and we started seeing this error. We didnt see any locks in sys.dba_pending_transactions ; sys.pending_trans;sys.dba_2pc_pending tables in our Oracle DB.

  • Can you please tell me what is needed to be done to resolve this WARN message ?

ERROR [WorkManager(2)-34793] [STDERR astransky] javax.ejb.EJBTransactionRolledbackException: Scheduler exception: Failure obtaining db row lock: ORA-02049: timeout: distributed transaction waiting for lock

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4.3
    • 5
  • Red Hat JBoss Operations Network (JON)
    • 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.