Setting JTA timeout on weblogic



JTA timeout is configure by default to be 30 seconds, so heavy loads will require more time than this.

You will se an exception like this when time out is not enough fir your application,

[Reason=weblogic.transaction.internal.TimedOutException: Transaction timed out after 31 seconds]

Weblogic allows you to change the JTA timeout inside the admin console, this can be done by going to JTA Page and change the setting.

Changing this will not require a restart, since weblogic apply this on the current servers that are running.
  • Just go to admin console 
  • Click on Lock & Edit
  • Click on Services - JTA
  • Update Timeout Seconds property
  • Save and Apply changes

This is documented at https://docs.oracle.com/cd/E23095_01/Platform.93/ATGInstallGuide/html/s0406settingthetransactiontimeoutonwe01.html



Comments