Ole Husgaard wrote:
>> BTW, when I tested this, I've noticed that if the timeout is too
>> small, jBoss behaves incorrectly: the error message
>>    Transaction XidImpl:on/0 timed out
>> appears in server log, but client doesn't receive any exception.

OH> That is strange. When a transaction has been rolled back, an
OH> attempt to commit it should throw an IllegalStateException.
OH> And that should happen in the transaction interceptor and be
OH> propagated back to the client.
OH> No exception at the client is a bug.
OH> What kind of bean are you using, and what is the transaction
OH> attribute?
Stateful session bean, Required attribute.
If you cannot easily reproduce this situation (just set the
TransactionTimeout to 1 and run some nontrivial test that takes more
than 1 second), don't bother.
Probably, I'll be able to debug this bug myself.

Best regards,
 Oleg 



Reply via email to