Thursday, July 8, 2010

weblogic.transaction.internal.TimedOutException: Transaction timed out after 299 seconds

I have come across couple of scenarios where my BPEL processes(SOA 11g) fail with timeout errors. The corresponding error messages shown in the soa server diagnostic log of managed server is as follows:

JTA transaction is not present or the transaction is not in active state.

In SOA 10g (OC4J) we could fine tune the timeout settings by modifying transaction-timeout parameter in below files:
$Oracle_Home\j2ee\home\config\transaction-manager.xml
$Oracle_Home\j2ee\home\application-deployments\orabpel\ ejb_ob_engine\orion-ejb-jar.xml

However in SOA 11g (weblogic) this can be set via the Oracle WebLogic Administration Console.
Go to Deployments->soa-infra ->scroll down to EJBs and find "BPELEngineBean" ->Under configuration tab all the way down you find the transaction timeout - set to 300 seconds by default. You can change it here.


Once done Save, Update the soa-infra application and restart the Weblogic server.

No comments:

Post a Comment