Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 2495 invoked from network); 7 Nov 2006 19:26:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2006 19:26:24 -0000 Received: (qmail 86182 invoked by uid 500); 7 Nov 2006 19:26:35 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 86153 invoked by uid 500); 7 Nov 2006 19:26:35 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 86144 invoked by uid 99); 7 Nov 2006 19:26:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 11:26:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 11:26:22 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 958B27142EC for ; Tue, 7 Nov 2006 11:26:02 -0800 (PST) Message-ID: <12800572.1162927562609.JavaMail.root@brutus> Date: Tue, 7 Nov 2006 11:26:02 -0800 (PST) From: "Albert Strasheim (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Reopened: (AMQ-644) create Java Service Wrapper for ActiveMQ In-Reply-To: <30554662.1142666485951.JavaMail.tomcat@stilton> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-644?page=all ] Albert Strasheim reopened AMQ-644: ---------------------------------- I downloaded the latest apache-activemq-4.1-incubator-SNAPSHOT ZIP today and I've noticed a few issues with the Java Service Wrapper for Windows. Firstly, my ZIP was missing wrapper.jar. According to wrapper.conf, it is supposed to live in bin\core\boot, but that directory doesn't seem to exist. The following line should probably be changed from: wrapper.java.additional.5=-Dactivemq.home=%ACTIVEMQ_HOME% to wrapper.java.additional.5=-Dactivemq.home="%ACTIVEMQ_HOME%" (quotes added) so that it works if ActiveMQ is installed in a directory that contains spaces in its name, e.g. C:\Program Files\ActiveMQ. The comments immediately following "# Uncomment to enable jmx" should be 3 lines. They all seem to be on one line (maybe a line endings issue?). The idea I got from http://wrapper.tanukisoftware.org/doc/english/integrate-start-stop-win.html was that the second method of starting and stopping the service is preferable. If this is true, one wants the following service wrapper: wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperStartStopApp and the following application parameters (assuming run.jar hasn't changed since I tried with 4.0.2): wrapper.app.parameter.1=org.apache.activemq.console.Main wrapper.app.parameter.2=2 wrapper.app.parameter.3=start wrapper.app.parameter.4=xbean:activemq.xml wrapper.app.parameter.5=org.apache.activemq.console.Main wrapper.app.parameter.6=true wrapper.app.parameter.7=1 wrapper.app.parameter.8=stop I posted about this on the mailing list: http://mail-archives.apache.org/mod_mbox/geronimo-activemq-users/200609.mbox/%3CE1GPL5Z-0007Sh-Vy@mail2.sun.ac.za%3E http://mail-archives.apache.org/mod_mbox/geronimo-activemq-users/200609.mbox/%3cE1GPLj4-0006VN-BP@mail2.sun.ac.za%3e > create Java Service Wrapper for ActiveMQ > ---------------------------------------- > > Key: AMQ-644 > URL: https://issues.apache.org/activemq/browse/AMQ-644 > Project: ActiveMQ > Issue Type: New Feature > Components: Broker > Reporter: james strachan > Assigned To: Joseph Dennis Gapuz > Priority: Minor > Fix For: 4.1 > > Attachments: wrapper.conf > > > http://wrapper.tanukisoftware.org/doc/english/introduction.html -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira