-
Bug
-
Resolution: Done
-
Major
-
8.1.0.Final
-
None
If you define a batch job to be divided to multiple partitions and write a PartitionMapper returning a PartitionPlanImpl object but don't override getThreads method, which means getThreads returns zero meaning thread count should be equal to partition count, but the batch job doesn't start.
See http://docs.oracle.com/javaee/7/api/javax/batch/api/partition/PartitionPlan.html#setThreads(int)
In GlassFish this works as expected: if getThreads is not overridden (thus returning zero), batch job is started in as many threads as there are partitions.
See steps to reproduce for further details.
- relates to
-
JBERET-108 jberet hangs if the partition plan defines the number of threads as 0
- Resolved