-
1. Re: How to shutdown the 2nd instance of JBoss.
mathewa Jan 19, 2005 8:20 PM (in response to gshekar)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 -
2. Re: How to shutdown the 2nd instance of JBoss.
rajeshchande Apr 13, 2005 8:32 AM (in response to gshekar)Hello,
I have the same issue. I am able to start the second instance by executing "home_dir/bin/run.sh -c 2_instance_name".
The problem is how to stop the 2nd instance. The command i tried are "home_dir/bin/shutdown.sh -s jnp://hostname:port"
but the above command fails and does not stop anything.
Pls. if someone can take an example and explain how to stop it?
Thanks. -
3. Re: How to shutdown the 2nd instance of JBoss.
plutus Mar 23, 2006 10:02 AM (in response to gshekar)Hi,
with 3.2.5 I am successfully using:
bin/shutdown.sh -S -s jnp://localhost:1099