activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j0llyr0g3r <>
Subject 5.0-Snapshot: changes in xml-scheme not reflected in sample configs?
Date Mon, 15 Oct 2007 15:33:17 GMT

Hey ho,

when i start an activemq-broker with the provided example configuration file
i get an 

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

The error is caused by the following configuration item in the example

        <usageManager id="memory-manager" limit="20 MB"/>

So i figured: Ok, obviously they changed the xml-scheme and this change is
not reflected in the example configs.

So i looked at the used xml-scheme for the 5.0-snapshot under:

In this scheme i see the following declaration:

<xs:element name="memoryUsage">
<xs:attribute name="limit" type="xs:long">

            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"

Based on the declaration above, i figured that something like 

<memoryUsage  id="memory-manager" limit="200" />

would do the trick, but unfortunately it doesn't, scince i am getting the
following error:

 No property 'memoryUsage' found

So, 2 questions arise:

1. What would be the correct definition?

2. If some developer reads: Could you please fix in your CVS-repository (or

Thx for every help guys....

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message