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

Andy Taylor (JIRA) jira-events at lists.jboss.org
Thu Jun 11 06:34:57 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBMESSAGING-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Taylor closed JBMESSAGING-1647.
------------------------------------

    Resolution: Done


fixed. Ive renamed the kill_me file to STOP_ME and it is now put under the config directory

> 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: Andy Taylor
>             Fix For: 2.0.0
>
>
> 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