• Multiple JBoss Single Machine Separate Shutdown

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #6967  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?
 #6975  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

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.