Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 41264 invoked from network); 9 Mar 2010 08:44:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Mar 2010 08:44:26 -0000 Received: (qmail 40866 invoked by uid 500); 9 Mar 2010 08:44:00 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 40845 invoked by uid 500); 9 Mar 2010 08:44:00 -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 40825 invoked by uid 99); 9 Mar 2010 08:43:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Mar 2010 08:43:59 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Mar 2010 08:43:54 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Nov2L-0006zX-G4 for users@activemq.apache.org; Tue, 09 Mar 2010 00:43:33 -0800 Message-ID: <27832827.post@talk.nabble.com> Date: Tue, 9 Mar 2010 00:43:33 -0800 (PST) From: cmoulliard To: users@activemq.apache.org Subject: Re: activemq-broker.xml file and plugins !!!! In-Reply-To: <36e91d9d1003090033m21933bb4h7ba26bcfc1a79482@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cmoulliard@gmail.com References: <27832667.post@talk.nabble.com> <36e91d9d1003090033m21933bb4h7ba26bcfc1a79482@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Dejan, I use Spring 2.5.6 and activemq-broker.xml is deployed in Fuse SMX 4.2. I have placed plugins after the SystemUsage and before transportConnectors and it works now . Kind regards, Charles Dejan Bosanac wrote: > > Hi Charles, > > if you run with Spring 3.x then you need to keep your tags in alphabetical > order. You probably have something in front of tag that messes > things up. > > Cheers > -- > Dejan Bosanac - http://twitter.com/dejanb > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > On Tue, Mar 9, 2010 at 9:26 AM, cmoulliard wrote: > >> >> Hi, >> >> I try to configure the plugins in the activemq-broker.xml file but I get >> an >> error. >> >> dleXmlApplicationContext(bundle=activemq-broker.xml, >> config=osgibundle:/META-INF/spring/*.xml)) >> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: >> Line >> 113 in XML document from URL >> [bundle://63.0:0/META-INF/spring/activemq-broker.xml] i >> s invalid; nested exception is org.xml.sax.SAXParseException: >> cvc-complex-type.2.4.a: Invalid content was found starting with element >> 'plugins'. One of '{"http: >> //activemq.apache.org/schema/core":taskRunnerFactory, >> "http://activemq.apache.org/schema/core":tempDataStore, >> "http://activemq.apache.org/schema/core":transport >> ConnectorURIs, "http://activemq.apache.org/schema/core >> ":transportConnectors, >> WC[##other:"http://activemq.apache.org/schema/core"]}' is expected. >> at >> >> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404) >> >> Where should we place the plugins in the xml file ? >> >> I place it before the transportConnector xml tag : >> >> >> > logConnectionEvents="false"/> >> > zeroExpirationOverride="1000" >> ttlCeiling="60000" futureOnly="true"/> >> >> >> >> >> >> >> > uri="tcp://localhost:61616"/> >> >> >> >> Remark : I use the activeMq 5.3 version >> >> Kind regards, >> >> Charles >> >> ----- >> Charles Moulliard >> SOA Architect >> >> My Blog : http://cmoulliard.blogspot.com/ >> http://cmoulliard.blogspot.com/ >> -- >> View this message in context: >> http://old.nabble.com/activemq-broker.xml-file-and-plugins-%21%21%21%21-tp27832667p27832667.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > ----- > Dejan Bosanac > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > ----- Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/ -- View this message in context: http://old.nabble.com/activemq-broker.xml-file-and-plugins-%21%21%21%21-tp27832667p27832827.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.