Possible Duplicate:
How do I shutdown JBoss AS 7 server?
I installed jboss-7.1.0 and linked it to my jboss symbolic link to upgrade it from jboss-7.0.2 on an Ubuntu server. Unfortunately my init.d script no longer works since it seems 7.1.0 does not ship with jboss-admin.sh scripts.
What replaces jboss-admin.sh found in 7.0.2 in JBoss AS 7.1.0?
Stopping the Server. To stop the server we can simply press “CTRL+C”. Additionally, jboss-cli could be utilized for issuing commands to the running instance of the server. For instance, we can use it to shut down the server.
2.1. For Windows Server, use the EAP_HOME\bin\jboss-cli. bat script to launch the management CLI. See Connect to the Server for details on launching the management CLI and connecting to the server in one step using the --connect argument. The jboss-cli scripts set the com.
You can launch the management CLI by running the jboss-cli script provided with JBoss EAP. For Windows Server, use the EAP_HOME\bin\jboss-cli. bat script to launch the management CLI.
jboss-cli.sh --connect command=:shutdown
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