Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Weblogic Transaction Timeout : how to set in admin console in WebLogic AS 8.1

I face the following exception:
weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds

this is set within the Stateless Session EJB Bean as javax.transaction.UserTransaction jtaTransaction.setTransactionTimeout(300) but I cannot figure out, where in the application console to set this property.

like image 595
yli Avatar asked Aug 20 '09 15:08

yli


People also ask

How do I set transaction timeout in WebLogic?

To change this setting, connect to WebLogic Server Administration Console. On the Domain > Configuration > JTA >Timeout Seconds tab, modify the Java Transaction API (JTA) timeout to be a minimum of 600.

How do I increase timeout in WebLogic?

To change the setting, open the WebLogic Server Console, go to the JTA page for the domain ATG is installed in, and change the value in the Timeout Seconds field. ATG recommends setting the timeout to 120 seconds.

What is XA transaction timeout?

Set XA Transaction TimeoutEnables WebLogic Server to set a transaction branch timeout based on the value for XaTransactionTimeout. When enabled, the WebLogic Server Transaction Manager calls XAResource.


1 Answers

After logging in, on the home page of the Server Console you should see 3 sections:

  • Information and Resources
  • Domain Configurations
  • Services Configurations

Under Services Configurations there is subsection Other Services. Click the JTA Configuration link under Other Services. The transaction timeout should be the top setting on the page displayed, labelled Timeout Seconds.

Weblogic Console screenshot

like image 68
mikej Avatar answered Sep 29 '22 03:09

mikej