Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I shutdown JBoss AS 7.1.0 from the command line? [duplicate]

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?

like image 816
cmdematos Avatar asked Feb 18 '12 06:02

cmdematos


People also ask

How do I shut down jboss server?

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.

How use jboss command line?

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.

How do I access jboss-CLI?

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.


1 Answers

jboss-cli.sh  --connect command=:shutdown
like image 158
Ondra Žižka Avatar answered Oct 06 '22 03:10

Ondra Žižka