163 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
34
views
JBeret extension to deliver metrics
We want to monitor metrics on our Jakarta Batch jobs processed through JBeret.
That means we want to count all invocations of reader/processor/writer, all listeners, all loops executed in Batchlets ...
2
votes
3
answers
131
views
How to terminate partition yet succeed on the job?
I have a Jakarta Batch application that runs jobs with partitions. Under some conditions the processor signals there is nothing else to be done by throwing an exception. As this exception shall ...
1
vote
1
answer
68
views
What are the wildcards in Jakarta Batch?
When looking at the current Jakarta Batch specification 2.1, e.g. chapter 8.2.5 Step Sequence, I see
Specifies an exit status to match to the current next element. It must be a valid XML string value....
1
vote
1
answer
87
views
Java Batch ItemProcessor lifecycle missing?
An ItemProcessor, as defined by Java Batch contains only one method: processItem(Object item)
What I am missing are lifecycle events like open() and close() - similar to the methods on ItemReader or ...
0
votes
1
answer
44
views
Jenkins and JSR-352 (Java batch) combined?
I have a JSR-352 application. It performs Batch Processing and thus is a command line application writing logs to stdout.
This goes nicely with Jenkins that provides a perfect UI to configure/run the ...
1
vote
1
answer
111
views
Jakarta EE Batch - multiple elements in one ItemProcessor
I am currently trying to implement a process with Jakarta EE Batch. The process starts with the import of approx. 1,000,000 data records from a database. This is to be followed by several steps in ...
1
vote
0
answers
82
views
JSR-352 batch job delays between chunks: how to reduce commit time without bulk delete?
I am running a JSR-352 batch job (concretely, Apache JBatch as implementation) in a JEE environment (WebSphere with EclipseLink as the JPA provider).
The batch processes database records in chunks and ...
-1
votes
2
answers
77
views
Stop chunk processing from a Processor or Writer
I do have batch jobs that perform chunk processing. This loop usually continues until the Reader has no more items to read and thus returns null. Or if at any point an Exception is thrown. In this ...
queeg's user avatar
- 9,950
0
votes
1
answer
98
views
Multiple ItemProcessors in JSR-352
I am referring to Java Batch as specified in JSR-352. The implementation I use is JBeret.
To more flexibly juggle existing code for chunk based batchlet execution, I'd like to chain multiple item ...
queeg's user avatar
- 9,950
-1
votes
1
answer
90
views
JBeret job execution start time not constant?
I have some JSR352 jobs running in Wildfly (which uses JBeret). Some time ago I noticed strange behaviour, and now I drilled it down to something that's puzzling me.
So far I assumed the job execution ...
queeg's user avatar
- 9,950
0
votes
1
answer
72
views
Java BatchProperty possible as List<String>?
Is it possible in JSR-352 / Java Batch to have batch properties as List?
How would they get initialized from the batch job XML?
public class MyItemProcessor extends ItemProcessor {
@Inject
@...
1
vote
1
answer
358
views
JBeret skippable exception thrown in ItemWriter triggers new chunk within the old transaction
Using JBeret I execute a simple job with single chunk based step which reads entries from the database, processes them and updates it. The step also defines a ChunkListener which interacts with the ...
0
votes
1
answer
130
views
Liberty Batch function not using database persistence for job repository
I'm trying to use database persistence with the Open Liberty batch features. However, I'm seeing nothing inserted into my DB tables and I see this message in messages.log:
... I CWWKY0005I: The ...
0
votes
1
answer
364
views
Custom JobRepository in JBeret for Quarkus
As described in Quarkus JBeret documentation, it is possible to use in-memoryor jdbc as values forquarkus.jberet.repository. I can see corresponding io.quarkiverse.jberet.runtime....
0
votes
1
answer
477
views
Error using Oracle DB as default job repository in Jakarta batch (JSR352 -Wildfly / jberet)
I'm running a Jakarta 10 application in Wildfly 27.0.1.Final server (thats implement Jakarta batch using Jberet)
I want to use a JDBC Job Repository in JBeret.
Everything runs okay when I use the ...