> That shouldn't happen. Just looked into the code I
> wrote, and it looks like you have found a bug in it:
> In org.jboss.tm.TxManager line 314, the new timeout
> in milliseconds is calculated with the expression:
> timeout = 1000 * seconds;
> I guess it should have been
> timeout = 1000L * seconds;
> to enforce widening _before_ the multiplication.
>
> Maybe Integer.MAX_VALUE/1000 is long enough for you
> until i get around to committing a fix?
I notice that Integer.MAX_VALUE was producing a -1 when looking at the JMX
console, so I played around a little and ended up using 2000000 (which is
about 24 days).
I re-ran my tests with no errors. I am rerunning them now with a 24 hour
timeout, to see what happens when these long transactions complete. My
guess is nothing, but just to be sure. I can try Integer.MAX_VALUE/1000 and
see if that works too. I just need something that is insainly high, since I
don't want _any_ tx to timeout on the node where this stuff is running.
--jason
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development