-
1. Re: Multiple Instance Shutdown Problem
greno Oct 18, 2005 10:32 AM (in response to greno)(reformatted since it was stripping out some bracketed items)
JBoss version: 4.0.3
OS: FC4
I'm running JBoss multiple instances on separate IPs. The server instances startup fine but the shutdown script (shutdown.sh) will not shut them down. I'm forced to kill the processes.
Startup:
/usr/local/jboss-4.0.3/bin/run.sh -c userscopyofdefault -b ipaddress
(run.sh works fine)
Shutdown:
/usr/local/jboss-4.0.3/shutdown.sh -S -b ipaddress
shutdown: invalid option -- b
(shutdown.sh does not work with or without the -b option)
Is there some other arguments to shutdown that would enable me to shutdown the separate instances? -
2. Re: Multiple Instance Shutdown Problem
darranl Oct 18, 2005 10:38 AM (in response to greno)The first command you are looking for is 'shutdown -help' this will show you the various command line arguments that are available.
The argument you need is: --s, --server=<url> Specify the JNDI URL of the remote server
The URL should be the JNP Url to connect to the specific instance i.e. 'jnp://127.0.0.1:1099' but with the IP address of the instance you want to stop. -
3. Re: Multiple Instance Shutdown Problem
greno Oct 18, 2005 10:50 AM (in response to greno)The -s option worked.
Command:/usr/local/jboss-4.0.3/bin/shutdown.sh -s jnp://ipaddress:1099
Thanks.