-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
False
-
-
-
-
-
-
+
-
When job fails and jberet calls close() method on ItemReader interface this exception is thrown:
[org.jberet] (Batch Thread - 1) Error closing ItemReader.: javax.transaction.TransactionalException: ARJUNA016110: Transaction is required for invocation
Looking at the code it looks like the ChunkRunner code calls rollback() first and then safeClose which in turn calls close() method on ItemReader. If I understand correctly close() method must be called within transactional scope so the above behaviour breaks the spec. I've attached a test case provided by the customer to this JIRA.
- incorporates
-
JBERET-537 Error closing ItemReader.: javax.transaction.TransactionalException: ARJUNA016110: Transaction is required for invocation
- Resolved
- is incorporated by
-
JBEAP-23241 [GSS](7.4.z) Upgrade jberet from 1.3.9 to 1.3.9.SP1
- Closed