I see that David fixed the warning issue 11 days ago.

I still can't get transactions to timeout.
-Mark

Mark Gordon wrote:
I just upgraded my system (2007-06-14) from a two year old version of ofibz. The new transaction system seems to be working a bit differently.

I remember in the past setting the transaction timeout was broken and it would always be the default timeout. This was fixed but it seems to be doing the same thing again.

In the old version when a transaction timed out it would throw an exception and the the service would fail. This does not seem to be happening anymore. It is just a warning that the transaction timed out.

Are these two assumptions correct?

My test service never ends.  It is a loop of large db selections.

dispatcher.runAsync("serviceTest", m, null, false, 45, true); // timeout set to 45 seconds

I get this:

timed out after 30 seconds:
2007-08-06 18:05:31,226 (GenericXaResource-Thread) [ GenericXaResource.java:206:WARN ] Transaction timeout [30] Status: Transaction Active (0) Xid: [globalId=1500000005748415420444f2057452043414c4c2049543f0000000000000000000000000000000000000,branchId=200000005748415420444f2057452043414c4c2049543f0000000000000000000000000000000000000]

Thanks!
Mark

Reply via email to