Patches item #704544, was opened at 2003-03-16 09:14
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=704544&group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: James Ward (jlward4)
Assigned to: Nobody/Anonymous (nobody)
Summary: Better Start / Stop Script For Multiple Instances

Initial Comment:
More easily manage multiple instances of JBoss with
this start / stop script.

Useage:

- Create a server_name_of_my_config.sh file in
JBOSS_HOME/bin which looks simlar to this:

#!/bin/sh
 
### User Defined Vars ###
 
JBOSS_USER="nobody"; export JBOSS_USER
JBOSS_HOME="/home/jboss-3.0.6"; export JBOSS_HOME
CONFIG="name_of_my_config"; export CONFIG
JETTY_PORT="28080"; export JETTY_PORT
JBOSS_CLASSPATH=""; export JBOSS_CLASSPATH
JAVA_OPTS=""; export JAVA_OPTS
 
### Run JBoss ###
 
${JBOSS_HOME}/bin/jboss.sh $1


Run it either as the JBOSS_USER or as root:
sudo -u nobody ./server_name_of_my_config.sh start
-or-
sudo ./server_name_of_my_config.sh stop

No changes to run.sh or shutdown.sh are required.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=704544&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to