WildFly CLI Commands for Batch Applications #217
chengfang
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
WildFly provides CLI (
jboss-cli.bat
andjboss-cli.sh
located underwildfly.install/bin/
) to manage server configuration and application. Here are some frequently used CLI commands for batch applications deployed to WildFly.in a new terminal window, start CLI and connect to a running WildFly server:
list all applications deployed to WildFly:
deploy batch application:
undeploy a batch application:
view application resources including batch jobs in application
hello-batch-numbers
:view batch processing runtime resources in application
hello-batch-numbers
:start job
batchlet1
in applicationhello-batch-numbers
:the above command results in a job execution with id
1
; to view its status and metrics:start job
batchlet1
in applicationhello-batch-numbers
with custom job parameters:stop a running job execution:
restart a previously stopped or failed job execution id
4
, which results a new job execution with id5
:to view all job execution data for job
batchlet1
:Beta Was this translation helpful? Give feedback.
All reactions