activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janesh S <jan...@tumri.com>
Subject Re: How to shutdown activemq 5.1.0 server?
Date Wed, 13 Aug 2008 02:08:59 GMT

Hi,

Finally I wrote the scripts myself and thought of sharing it on the forum
for public reference:

#!/bin/sh
# Startup script for Apache ActiveMQ
###################################################################

MQ_HOME=<full-path>/apache-activemq-5.1.0

cd $MQ_HOME/bin

export SUNJMX="-Dcom.sun.management.jmxremote.port=1099
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote=true"

./activemq &


#!/bin/sh
# Shutdown script for Apache ActiveMQ
#########################################################

MQ_HOME=<full-path>/apache-activemq-5.1.0
cd $MQ_HOME/bin
java -jar run.jar stop

Regards,
Jan

-- 
View this message in context: http://www.nabble.com/How-to-shutdown-activemq-5.1.0-server--tp18884711p18955816.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message