-
Bug
-
Resolution: Done
-
Major
-
None
-
None
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.
- is incorporated by
-
JBEAP-23240 [GSS](7.4.z) JBERET-537 - Error closing ItemReader.: javax.transaction.TransactionalException: ARJUNA016110: Transaction is required for invocation
- Closed
-
WFLY-16040 Upgrade jberet-core from 1.3.10.Final to 1.3.10.SP1
- Closed