December 28, 2007

How to longer the BPEL waiting timeout ...

I've been having timeout issues with a long running database call.  I have been doing research on how to increase these timeout limits.  I came across a post on the BPEL Forum in which Peter Hanusiak gave some good advice on not only looking at the syncMaxWaitTime but also checking the OC4J JTA timeout.

Just setting syncMaxWaitTime may not solve the timeout. It is internal parameter of BPEL. But BPEL engine uses OC4J JTA, so if your JTA timeout is less than syncMaxWaitTime it will not work as you expect and the whole execution will be rollbacked by OC4J. You have to change in server.xml for OC4J transaction timeout in way that syncMaxWaitTime < OC4J JTA timeout

How to longer the BPEL waiting timeout ...