I am using " ./standalone.sh -c standalone-full.xml " to start JBOSS. What is the cleanest way to restart jboss in this case? Any scripts that you can share?
To start up a JBoss AS 7 managed domain you need to execute the $JBOSS_HOME/bin/domain.sh script, and to start up a standalone server use $JBOSS_HOME/bin/standalone.sh. This will start it up using the default configuration.
Press Ctrl+C to stop JBoss Enterprise Application Platform.
You have to use CLI console. To restart, type
bin/jboss-cli.sh --connect --command=:reload
To shutdown, type
bin/jboss-cli.sh --connect --command=:shutdown
Source
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With