Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 81904 invoked from network); 4 Sep 2007 06:52:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Sep 2007 06:52:36 -0000 Received: (qmail 74582 invoked by uid 500); 4 Sep 2007 06:52:31 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74275 invoked by uid 500); 4 Sep 2007 06:52:30 -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 74266 invoked by uid 99); 4 Sep 2007 06:52:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 23:52:30 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [203.89.192.138] (HELO postoffice.aconex.com) (203.89.192.138) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2007 06:53:37 +0000 Received: from [192.168.5.130] (unknown [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 84BBC92C481 for ; Tue, 4 Sep 2007 16:51:56 +1000 (EST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: References: <12CD5AB7-7824-4111-B8BC-AD28C1DC0124@aconex.com> Content-Type: multipart/alternative; boundary=Apple-Mail-9-128121036 Message-Id: From: Paul Smith Subject: Re: AMQ 4.1 and Spring XML beans Date: Tue, 4 Sep 2007 16:51:58 +1000 To: users@activemq.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-9-128121036 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On 04/09/2007, at 4:46 PM, James Strachan wrote: > On 9/3/07, Paul Smith wrote: >> Confused! This works (as expected): >> >> >> >> >> >> >> >> >> >> >> >> But this doesn't which is sort of copied from the XML guide on the >> website: >> >> >> >> > > this is an XML error - the must be in the same > namespace as the rest of the ActiveMQ XML Tried that last night too, doesn't make any difference: [2007-09-04 16:50:55,721 INFO ][BeanDefinitionReader][main] Loading XML bean definitions from class path resource [amq.xml] Exception in thread "main" org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: L ine 16 in XML document from class path resource [amq.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type. 2.4.a: Invalid content was found starting with element 'amq:journaledJDBC'. One of '{"http://activemq.org/config/ 1.0":jdbcPersistenceAdapter, "http://activemq.org/config/ 1.0":journalPersistenceAdapter, "http://activemq.org/config/ 1.0":kahaPersistenceAdapter, "http://activemq.org/config/ 1.0":memoryPersistenceAdapter, "http://activemq.org/config/ 1.0":quickJournalPersistenceAdapter, "http://activemq.org/config/ 1.0":rapidPersistenceAdapter, WC[##other:"http://activemq.org/config/ 1.0"]}' is expected. Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'amq:journaledJDBC'. One of '{"http://activemq.org/config/1.0":jdbcPersistenceAdapter, "http://activemq.org/config/1.0":journalPersistenceAdapter, "http:// activemq.org/config/1.0":kahaPersistenceAdapter, "http://activemq.org/ config/1.0":memoryPersistenceAdapter, "http://activemq.org/config/ 1.0":quickJournalPersistenceAdapter, "http://activemq.org/config/ 1.0":rapidPersistenceAdapter, WC[##other:"http://activemq.org/config/ 1.0"]}' is expected. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXPar seException(ErrorHandlerWrapper.java:236) using: Any ideas? cheers, Paul --Apple-Mail-9-128121036--