Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1496C906B for ; Tue, 24 Jan 2012 20:52:15 +0000 (UTC) Received: (qmail 86919 invoked by uid 500); 24 Jan 2012 20:52:14 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 86883 invoked by uid 500); 24 Jan 2012 20:52:13 -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 86875 invoked by uid 99); 24 Jan 2012 20:52:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 20:52:13 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mattrpav@gmail.com designates 209.85.161.171 as permitted sender) Received: from [209.85.161.171] (HELO mail-gx0-f171.google.com) (209.85.161.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 20:52:04 +0000 Received: by ggnk3 with SMTP id k3so2439685ggn.2 for ; Tue, 24 Jan 2012 12:51:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=m+V4CdYCjkaIwgoCSzA1bRAjQARol7V/dMi+P/XMypU=; b=aAl7LIMkVP6V50BTGnl8c1b7zrBMDnQVU2wDXAkCyDYw97M4151ASuOZN0zUmSn7ay wEWVFX1gfHWfy+el6Tti18bMI76edYN6HFfP9DJkt9J5esEg7w3EbmJbAa2iTnMlHe06 ictiMue884UQTnCOhTF4qv2JD0+YtshDE3sts= Received: by 10.101.131.20 with SMTP id i20mr6509752ann.29.1327438302330; Tue, 24 Jan 2012 12:51:42 -0800 (PST) Received: from MacBookPro-2.local ([75.103.13.11]) by mx.google.com with ESMTPS id i12sm47960388anm.6.2012.01.24.12.51.41 (version=SSLv3 cipher=OTHER); Tue, 24 Jan 2012 12:51:41 -0800 (PST) Message-ID: <4F1F19DC.4010909@gmail.com> Date: Tue, 24 Jan 2012 14:51:40 -0600 From: Matt Pavlovich User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: users@activemq.apache.org Subject: Re: Inclusion of in activemq.xml fails. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Bill- Try adding the closing "/" to the statisticsBrokerPlugin element: Tip: Also, when working with configs. Starting AMQ with the 'console' option. ./bin/activemq console Hope this helps! Matt Pavlovich On 1/6/12 10:28 AM, Bill Moo wrote: > Hello Users, > > I am tring to use this feature of ActiveMQ v5.5.1 but when I include these > elements within the elements of the activemq.xml file > activemq fails to start and outputs > > ... Line 50 in XML document from class path resource [activemq.xml] is > invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 50; > columnNumber: 18; cvc-complex-type.2.4.a: Invalid content was found > starting with element 'plugins'. One of '{WC[##other:" > http://activemq.apache.org/schema/core"]}' is expected. > ... > > But everywhere I look including > http://activemq.apache.org/statisticsplugin.html and both my ActiveMQ > and Camel in Action Books tell the same thing that this is all that is > apparently required. > > I am using v5.5.1 on OpenBSD 5.0 amd64 MP with a JDK& JRE of v1.7.0 > installed via pgk_add and the nano editor. > > Any help would be appreciated. >