firstly you want a lower-case -s, and you need to specify the jndi url of the 
server your trying to shutdown.

===============================================
[bin]$ ./shutdown.sh
A JMX client to shutdown (exit or halt) a remote JBoss server.
 
usage: shutdown [options] 
 
options:
-h, --help Show this help message
-D[=] Set a system property
-- Stop processing options
-s, --server= Specify the JNDI URL of the remote server
-n, --serverName= Specify the JMX name of the ServerImpl
-a, --adapter= Specify JNDI name of the RMI adapter to use
-u, --user= Specify the username for authentication[not implemented yet]
-p, --password= Specify the password for authentication[not implemented yet]
 
operations:
-S, --shutdown Shutdown the server (default)
-e, --exit= Force the VM to exit with a status code
-H, --halt= Force the VM to halt with a status code
===============================================

above clipping was taken from ... 
http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch01.html#d0e1391

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862821#3862821

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862821


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to