WildFly cli


Start the server in domain mode:

$ ./domain.sh

Start the server in standalone mode:

$ ./standalone.sh

To stop the server, press Ctrl + C, or use the admin console:

$ ./jboss-cli.sh --connect command=:shutdown



Interactive console:

jboss-cli.sh -c
[standalone@localhost:9990 /] deploy target/javaee7-1.0-SNAPSHOT.war
[standalone@localhost:9990 /] deployment-info
[standalone@localhost:9990 /] undeploy javaee7-1.0-SNAPSHOT.war


jboss-cli.sh --connect --command="deploy target/javaee7-1.0-SNAPSHOT.war --force"
jboss-cli.sh --connect --command=deployment-info
jboss-cli.sh --connect --command="undeploy javaee7-1.0-SNAPSHOT.war"



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s