[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-1647) Correct system property name in JBMBootstrapServer, add setting of property to start script, add config dir to stop script.

Scott Clasen (JIRA) jira-events at lists.jboss.org
Wed Jun 10 16:21:56 EDT 2009


Correct system property name in JBMBootstrapServer, add setting of property to start script, add config dir to stop script.
---------------------------------------------------------------------------------------------------------------------------

                 Key: JBMESSAGING-1647
                 URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1647
             Project: JBoss Messaging
          Issue Type: Bug
    Affects Versions: 2.0.0 Beta
            Reporter: Scott Clasen
            Assignee: Tim Fox


Line 88 of JBMBootstrapServer  is

String dirName = System.getProperty("jbm.bootsrap.bin.dir", ".");

Property should be jbm.bootstrap.bin.dir instead of jbm.bootsrap.bin.dir?

Also the start and stop scripts in the bin dir should probably work by setting this property based on the config dir you use, so KILL_ME gets touched in the config dir

So run.sh should set -Djbm.bootstrap.bin.dir=$CONFIG_DIR

and stop.sh should capture $1 as $CONFIG_DIR and  touch $CONFIG_DIR/KILL_ME

otherwise if you are running 2 configs out of the same distro...like

/messaging-2.0.0.BETA1/bin/run.sh /path/to/config/one &
/messaging-2.0.0.BETA1/bin/run.sh /path/to/config/two &

CURRENT 
/messaging-2.0.0.BETA1/bin/stop.sh  
 //-->BRINGS DOWN BOTH SERVERS

CHANGED
/messaging-2.0.0.BETA1/bin/stop.sh /path/to/config/one 
//-->Brings down only server one








-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list