Page 1 of 1

Multiple JBoss Single Machine Separate Shutdown

PostPosted:Mon Nov 01, 2010 6:34 pm
by russkey
I had posted this a few weeks ago but the topic seems to have disappeared along with my account in a recent server crash.

Is there a modification that has to be put into the shutdown script for shutting down an individual JBoss server? We have an OpenKM 2.0 running for historical reasons on 8080 and an OpenKM 4.1 running on 8081. Both are started with -b 0.0.0.0 to make them available to the wide world. I have tried adding localhost 8080 and other variations to the shutdown script on the 2.0 and localhost 8081 and other variations to the shutdown script on the 4.1 but to no avail. It seems to reject the parameters, giving me an error message that it does not understand them. Is there a detail of the syntax required for these scripts somewhere? Any suggestions?

Re: Multiple JBoss Single Machine Separate Shutdown

PostPosted:Tue Nov 02, 2010 8:39 pm
by russkey
The solution for those following along at home is this:
Code: Select all
shutdown.sh -s localhost:1101 -S
The 1101 is whatever you have reassigned port 1099 to.

Partly from http://community.jboss.org/wiki/StartStopJBoss , mostly from further experimentation.
Code: Select all
shutdown.sh -S
kills the OpenKM that is running on the default ports

Re: Multiple JBoss Single Machine Separate Shutdown

PostPosted:Wed Nov 03, 2010 6:55 pm
by pavila

Re: Multiple JBoss Single Machine Separate Shutdown

PostPosted:Sun Nov 07, 2010 5:29 pm
by russkey
Unfortunately that page is restricted to logged in users. this one http://wiki.openkm.com/index.php/Severa ... ame_server may have the same information but it is incorrect with respect to the shutdown script modification and the port that is used to reference the server to the shutdown script.

Re: Multiple JBoss Single Machine Separate Shutdown

PostPosted:Sun Nov 07, 2010 7:48 pm
by pavila
Yes, the page http://wiki.openkm.com/index.php/Severa ... ame_server is a bit out-of-dated. That's because I refered you to the other wiki page.