How to change default JTA transaction timeout in JBoss EAP?

Solution Verified - Updated -

Issue

  • Change the JTA transaction timeout
  • Specify the default-timeout for the transaction reaper / coordinator-environment
  • Disable transaction timeout for a pool where the datasource does not support transaction timeout

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 6
  • Red Hat JBoss Enterprise Application Platform (EAP) 7
  • coordinator-environment specified in
    • jboss-as-txn_1_0.xsd
    • jboss-as-txn_1_1.xsd
    • jboss-as-txn_1_2.xsd
    • jboss-as-txn_1_3.xsd
    • jboss-as-txn_1_4.xsd
    • jboss-as-txn_1_5.xsd
    • jboss-as-txn_2_0.xsd

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.