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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content