[XADISK-133] time-out on long transaction gives no indication in ClosedStreamException Created: 25/Feb/13 Updated: 27/Aug/13 Resolved: 14/Aug/13
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Windows 7 64-bit, Java 1.7, Eclipse Juno, Open EJB
When running a performance test writing 12 GB to disk with XADisk I stumbled over an unexpected IOException (full stacktrace below), which was caused by a transaction time-out.
I recommend testing the rolledbackPrematurely flag when reporting the exception in NativeXAFileOutputStream.checkIfCanContinue(). Locating the out-of-bound close() is difficult (I was lucky that I had no complex code running which might have accidentally closed the stream here or there).
Now the stacktrace:
|Comment by Nitin Verma [ 02/Mar/13 ]|
Thanks Gunnar. Yes, it would definitely help to report the reason for stream close.
|Comment by Nitin Verma [ 14/Aug/13 ]|
Checked-in the changes to trunk.