How to shut down JBoss from remote ?
User Rating: 0 / 5
- Published: 04 October 2008
JBoss recipe of the day
JBoss can be shut down remotely using the twiddle command line utility.
Just add the -s option to specify the host you are trying to talk to:
C:\jboss-4.2.2.GA\bin>twiddle -s localhost invoke "jboss.system:type=Server" shutdown
[bin]$ ./twiddle.sh -s hostname invoke jboss.system:type=Server shutdown
The command will return "null" and JBoss will start shutting down.....