activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dean.ward" <dean.w...@bakedbean.org.uk>
Subject Re: Apollo as Windows Service
Date Wed, 22 Aug 2012 19:14:03 GMT
Sure... I've no spaces in my path with the exception of the location of
java.exe. apollo-broker-service.xml looks like this:



<service>
  <id>org.apache.activemq.apollo.Test</id>
  <name>Apollo: Test</name>
  <description>Apache Apollo is a reliable messaging broker</description>

  <logpath>D:\Apollo\Test\log</logpath>
  <logmode>roll</logmode>

  <executable>"C:\Program Files\Java\jre7\bin\java.exe"</executable>
  <argument>-server</argument>
  <argument>-Xrs</argument>
  <argument>-Xmx1G</argument>
  <argument>-Dcom.sun.management.jmxremote</argument>
 
<argument>"-Djava.util.logging.config.file=D:\Apollo\etc\jul.properties"</argument>
  <argument>"-Dapollo.base=D:\Apollo\Test"</argument>
  <argument>"-Dapollo.home=D:\Apollo"</argument>
  <argument>-classpath</argument>
  <argument>"D:\Apollo\Test\etc;D:\Apollo\lib\apollo-boot.jar"</argument>
  <argument>org.apache.activemq.apollo.boot.Apollo</argument>
  <argument>"D:\Apollo\Test\lib:D:\Apollo\lib"</argument>
  <argument>org.apache.activemq.apollo.cli.Apollo</argument>
  <argument>run</argument>

</service>

Thanks for the help :)

Dean



--
View this message in context: http://activemq.2283324.n4.nabble.com/Apollo-as-Windows-Service-tp4655390p4655453.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message