Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 44149 invoked from network); 27 Nov 2008 14:26:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2008 14:26:33 -0000 Received: (qmail 47481 invoked by uid 500); 27 Nov 2008 14:26:43 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 47459 invoked by uid 500); 27 Nov 2008 14:26:43 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 47448 invoked by uid 99); 27 Nov 2008 14:26:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Nov 2008 06:26:43 -0800 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [194.247.192.229] (HELO EUnet.yu) (194.247.192.229) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Nov 2008 14:25:14 +0000 Received: from [194.247.199.205] (billingdev-hotspot.eunet.co.yu [194.247.199.205] (may be forged)) by EUnet.yu (8.13.6/8.13.6) with ESMTP id mAREPdXE031046 for ; Thu, 27 Nov 2008 15:25:39 +0100 Message-ID: <492EADE3.5080001@ttmsolutions.com> Date: Thu, 27 Nov 2008 15:25:39 +0100 From: Dejan Bosanac User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: users@activemq.apache.org Subject: Re: reading activemq.xml from another activemq.xml References: <20715212.post@talk.nabble.com> <492E5ED5.6030307@ttmsolutions.com> <20717237.post@talk.nabble.com> In-Reply-To: <20717237.post@talk.nabble.com> Content-Type: multipart/alternative; boundary="------------070704050704030400080806" X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_50,HTML_MESSAGE,UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.0 X-Virus-Checked: Checked by ClamAV on apache.org --------------070704050704030400080806 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit In case of windows ${ACTIVEMQ_HOME} is actually %ACTIVEMQ_HOME% but if you plan to put your XML file in the conf/ folder you can just use xbean:conf/activemq2.xml As for the service question, yes you are right, just add wrapper.app.parameter.3=xbean:conf/activemq2.xml to your bin/win32/wrapper.conf Cheers -- Dejan Bosanac http://www.ttmsolutions.com - get a free ActiveMQ user guide ActiveMQ in Action - http://www.manning.com/snyder/ Scripting in Java - http://www.scriptinginjava.net gimel wrote: > thanks, but i still can't manage to do so : > i tried to add something like - xbean:/${ACTIVEMQ_HOME}/conf/activemq2.xml > to the command, and got : > java.net.URISyntaxException: Illegal character in path at index 8: > xbean:/${ACTIVEMQ_HOME}/conf/activemq2.xml > > beside, i need to add it to the service, so if it's possible to say where to > add it (i assume it's something like 'wrapper.app.parameter.3'), would be > great as well. > > thanks > > > Dejan Bosanac-3 wrote: > >> Hi, >> >> just run your ActiveMQ with an additional parameter representing URL of >> the config file, like >> >> ${ACTIVEMQ_HOME}/bin/activemq xbean:/path/to/your/activemq.xml >> >> Cheers >> >> -- >> Dejan Bosanac >> >> >> http://www.ttmsolutions.com - get a free ActiveMQ user guide >> >> ActiveMQ in Action - http://www.manning.com/snyder/ >> Scripting in Java - http://www.scriptinginjava.net >> >> >> >> gimel wrote: >> >>> Hi, >>> >>> I'd like to be able to have my activemq.xml outside of the conf folder. >>> i think that i didn't see a way to ask it to be called from somewhere >>> else. >>> if there is a way to include/import my external xml from the internal, >>> will >>> be great as well... >>> >>> regards >>> >>> >> >> > > --------------070704050704030400080806--