Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 27435 invoked from network); 15 Oct 2007 15:45:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Oct 2007 15:45:11 -0000 Received: (qmail 33969 invoked by uid 500); 15 Oct 2007 15:44:59 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 33733 invoked by uid 500); 15 Oct 2007 15:44:58 -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 33724 invoked by uid 99); 15 Oct 2007 15:44:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 08:44:58 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Mon, 15 Oct 2007 15:45:01 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IhS7V-0002WG-1F for users@activemq.apache.org; Mon, 15 Oct 2007 08:44:41 -0700 Message-ID: <13214834.post@talk.nabble.com> Date: Mon, 15 Oct 2007 08:44:41 -0700 (PDT) From: j0llyr0g3r To: users@activemq.apache.org Subject: Re: 5.0-Snapshot: changes in xml-scheme not reflected in sample configs? In-Reply-To: <13214349.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: timo.roessner@wincor-nixdorf.com References: <13214349.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Ok folks, i didn't see the solution because this xml-scheme is HUGE. If i get it right, instead of declaring something like within the -scope you have to declare something like outside the scope of Could please some of the developer tell wether i am right and possibly fix this? j0llyr0g3r wrote: >=20 > Hey ho, >=20 > when i start an activemq-broker with the provided example configuration > file i get an=20 >=20 > Initialization of bean failed; nested exception is > org.springframework.beans.InvalidPropertyException: Invalid property > 'memoryUsage' of bean class > [org.apache.activemq.xbean.XBeanBrokerService]: No property 'memoryUsage' > found >=20 > The error is caused by the following configuration item in the example > configuration: >=20 > > > >=20 > So i figured: Ok, obviously they changed the xml-scheme and this change i= s > not reflected in the example configs. >=20 > So i looked at the used xml-scheme for the 5.0-snapshot under: > http://activemq.apache.org/config/1.0/core/activemq-core-5.0-SNAPSHOT.xsd >=20 > In this scheme i see the following declaration: >=20 > > ........... > ........... > > =E2=88=92 > =09 > =E2=88=92 > =09 >=20 > Sets the memory limit in bytes. Setting the limit in bytes > will set the > usagePortion to 0 since the UsageManager is not going to be portion based > off the parent. When set using XBean, you can use values such as: "20 > mb", "1024 kb", or "1 gb" > =20 > > > >=20 > Based on the declaration above, i figured that something like=20 >=20 > >=20 > would do the trick, but unfortunately it doesn't, scince i am getting the > following error: >=20 > No property 'memoryUsage' found >=20 > So, 2 questions arise: >=20 > 1. What would be the correct definition? >=20 > 2. If some developer reads: Could you please fix in your CVS-repository > (or whereever)? >=20 > Thx for every help guys.... >=20 >=20 --=20 View this message in context: http://www.nabble.com/5.0-Snapshot%3A-changes= -in-xml-scheme-not-reflected-in-sample-configs--tf4628026s2354.html#a132148= 34 Sent from the ActiveMQ - User mailing list archive at Nabble.com.