activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a_schulle <>
Subject Messages about "Store limit" with JDBCPersistenceAdapter
Date Tue, 07 Aug 2012 14:13:43 GMT
We are using Version 5.6.0 in an "JDBC Master Slave" configuration. When the
broker comes up it shows the following log messages:

( #
PListStore:[E:\somepath\activemq-data\jdbcBroker\tmp_storage ] started
( # Using Persistence Adapter:
( # Database
adapter driver override recognized for : [oracle_jdbc_driver] - adapter:
( # Database lock
driver override not found for : [oracle_jdbc_driver].  Will use default
( # Attempting to
acquire the exclusive lock to become the Master broker
( # Becoming the
master on dataSource: org.jboss.jca.adapters.jdbc.WrapperDataSource@ca6a9e
( # ActiveMQ 5.6.0 JMS Message
Broker (jdbcBroker) is starting
( # For help or more
information please see:
(org.apache.activemq.transport.TransportServerThreadSupport:72) # Listening
for connections at: tcp://foo:61616
( # Connector default
( # ActiveMQ JMS Message Broker
(jdbcBroker, ID:foo-3894-1344347728219-0:1) started
( # Store limit is 100000 mb,
whilst the data directory: E:\somepath\jboss\bin only has 5139 mb of usable
( # Temporary Store limit is
50000 mb, whilst the temporary data directory:
E:\somepath\jboss\bin\activemq-data\jdbcBroker\tmp_storage only has 5139 mb
of usable space
(org.apache.activemq.web.WebConsoleStarter:47) # ActiveMQ WebConsole

I'm wondering about the messages "Store limit is 100000 mb,..." and
"Temporary Store limit is 50000 mb,...".

When I add the following configuration the two messages disappear:

			<tempUsage limit="32mb"/>

This is my configuration:

	<bean id="propertyPlaceholderConfigurer"
		<property name="ignoreUnresolvablePlaceholders" value="true"/>
		<property name="ignoreResourceNotFound" value="true"/> 
		<property name="locations">
		<property name="placeholderPrefix" value="${" />
		<property name="placeholderSuffix" value="}" /> 
	<broker useJmx="true" brokerName="jdbcBroker" persistent="true"
					<policyEntry queue="*.priority" prioritizedMessages="true"/>
			<managementContext createConnector="false"/>
			<jdbcPersistenceAdapter dataSource="#oracle-ds"
createTablesOnStartup="false" useDatabaseLock="true">
			<simpleAuthenticationPlugin anonymousAccessAllowed="false">
					<authenticationUser username="myuser" password="mypassword"
groups="users,admins" />
							<authorizationEntry queue=">" read="users" write="users"
admin="admins" />
							<authorizationEntry topic=">" read="users" write="users"
admin="admins" />
							<authorizationEntry topic="ActiveMQ.Advisory.>" read="users"
write="users" admin="users" />
							<tempDestinationAuthorizationEntry read="users" write="users"
admin="admins" />
			<transportConnector name="default" uri="${ACTIVEMQ_TRANSPORT}" />
					<tempUsage limit="32mb"/>
	<bean id="oracle-ds"
		<property name="jndiName" value="java:jboss/datasources/DSNAME"/>

Why does the broker with JDBCPersistenceAdapter needs a local store? Is
something wrong with my configuration?

I would appreciate any help. Thanks!

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

View raw message