JTA transaction is not in active state: The transaction status is “MARKED_ROLLBACK”& Timeout Exceptions

Issue generally comes due to low value (default value i.e. 30) set for JTA transaction timeout. To solve the above problem try the following things.

Setting syncMaxWaitTime: 

  1. Login into em console i.e http://<HOST&gt;:<PORT>/em
  2. Expand SOA and right click on “soa-infra” and select SOA Administration -> BPEL Properties
  3. Click on “More BPEL configuration Properties…” link
  4. Locate syncMaxWaitTime and increase the time value.

Setting the global transaction timeout at weblogic domain

  1. Log into Oracle WebLogic Administration Console.
  2. Click Services -> JTA.
  3. Change the value of Timeout Seconds (the default is 30).
  4. Click Save.

Restart Oracle WebLogic Server.

Set timeouts in the soa EJB’s:

Open the Weblogic console and click in the navigation menu on the left on “Deployments”. Expand “soa-infra” by clicking on [+] and expand node “EJBs” in the same way. Increase the “Transaction Timeout” (value in seconds) in the “Configuration” tab for the following EJB’s by clicking on them:
Increase the JTA timeout in the Weblogic console by selecting “soa_domain” in the navigation menu (top item) on the left. Then select tab “Configuration” and subtab “JTA”. The first setting is the “Timeout Seconds” (value in seconds).

To solve “HeuristicMixedException” timeouts:

Set the “XA Transaction Timeout” of the soa jdbc connection to 0 seconds (means inherit) by expanding “Services” -> “JDBC” and select “Data Sources”. In the screen on the right select “SOADataSource” from the list and select tab “Configuration” and subtab “Transaction”. Enable setting “Use XA Datasource Interface” and setting “Set XA Transaction Timeout” and set setting “XA Transaction Timeout:” to 0 (inherit globale Weblogic transaction timeout).


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s