Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 67154 invoked from network); 11 Nov 2010 16:27:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Nov 2010 16:27:59 -0000 Received: (qmail 88241 invoked by uid 500); 11 Nov 2010 16:28:30 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 88205 invoked by uid 500); 11 Nov 2010 16:28: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 88197 invoked by uid 99); 11 Nov 2010 16:28:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 16:28:29 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 16:28:24 +0000 Received: from joe.nabble.com ([192.168.236.151]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1PGa0K-0004mP-2l for users@activemq.apache.org; Thu, 11 Nov 2010 08:28:04 -0800 Date: Thu, 11 Nov 2010 08:28:04 -0800 (PST) From: mikey To: users@activemq.apache.org Message-ID: <1289492884079-3038143.post@n4.nabble.com> Subject: Broker URI configuration causing SAX errors MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have a JNDI configuration for an embedded broker in my Tomcat context.xml, I'm trying to use the broker uri syntax to configure the broker and having varied luck. My configuration works until I try to add the useJmx option to the URI. When I add useJmx=false I get the following on tomcat startup: SEVERE: Parse Fatal Error at line 37 column 134: The reference to entity "broker.useJmx" must end with the ';' delimiter. org.xml.sax.SAXParseException: The reference to entity "broker.useJmx" must end with the ';' delimiter.>...at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195) Can anyone help me figure out what I am doing wrong in my broker config syntax? Here is my resource in tomcat: The above works, but when I change brokerURL to: brokerURL="vm://localhost?broker.persistent=false&useJmx=false" or brokerURL="vm://localhost?broker.persistent=false&broker.useJmx=false" I get the error listed above. Thanks for any insight on this! -- View this message in context: http://activemq.2283324.n4.nabble.com/Broker-URI-configuration-causing-SAX-errors-tp3038143p3038143.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.