We are using Version 5.6.0 in an "JDBC Master Slave" configuration. When the broker comes up it shows the following log messages:
(org.apache.activemq.store.kahadb.plist.PListStore:331) # PListStore:[E:\somepath\activemq-data\jdbcBroker\tmp_storage ] started (org.apache.activemq.broker.BrokerService:521) # Using Persistence Adapter: JDBCPersistenceAdapter(org.jboss.jca.adapters.jdbc.WrapperDataSource@c0ae96) (org.apache.activemq.store.jdbc.JDBCPersistenceAdapter:464) # Database adapter driver override recognized for : [oracle_jdbc_driver] - adapter: class org.apache.activemq.store.jdbc.adapter.OracleJDBCAdapter (org.apache.activemq.store.jdbc.JDBCPersistenceAdapter:466) # Database lock driver override not found for : [oracle_jdbc_driver]. Will use default implementation. (org.apache.activemq.store.jdbc.DefaultDatabaseLocker:67) # Attempting to acquire the exclusive lock to become the Master broker (org.apache.activemq.store.jdbc.DefaultDatabaseLocker:134) # Becoming the master on dataSource: org.jboss.jca.adapters.jdbc.WrapperDataSource@c0ae96 (org.apache.activemq.broker.BrokerService:799) # ActiveMQ 5.6.0 JMS Message Broker (jdbcBroker) is starting (org.apache.activemq.broker.BrokerService:801) # For help or more information please see: http://activemq.apache.org/ (org.apache.activemq.transport.TransportServerThreadSupport:72) # Listening for connections at: tcp://foo:61616 (org.apache.activemq.broker.TransportConnector:265) # Connector default Started (org.apache.activemq.broker.BrokerService:564) # ActiveMQ JMS Message Broker (jdbcBroker, ID:foo-3478-1344344036139-0:1) started (org.apache.activemq.web.WebConsoleStarter:47) # ActiveMQ WebConsole initialized. I'm wondering about the first message about PListStore. The path doesn't exist. This is my configuration: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd "> <bean id="propertyPlaceholderConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="ignoreUnresolvablePlaceholders" value="true"/> <property name="ignoreResourceNotFound" value="true"/> <property name="locations"> <list> <value>file:${CONF}/systemenv.conf</value> <value>file:${CONF}/systemenv.mod.conf</value> </list> </property> <property name="placeholderPrefix" value="${" /> <property name="placeholderSuffix" value="}" /> </bean> <broker useJmx="true" brokerName="jdbcBroker" persistent="true" xmlns="http://activemq.apache.org/schema/core"> <destinationPolicy> <policyMap> <policyEntries> <policyEntry queue="*.priority" prioritizedMessages="true"/> </policyEntries> </policyMap> </destinationPolicy> <managementContext> <managementContext createConnector="false"/> </managementContext> <persistenceAdapter> <jdbcPersistenceAdapter dataSource="#oracle-ds" createTablesOnStartup="false" useDatabaseLock="true"> </jdbcPersistenceAdapter> </persistenceAdapter> <plugins> <simpleAuthenticationPlugin anonymousAccessAllowed="false"> <users> <authenticationUser username="myuser" password="mypassword" groups="users,admins" /> </users> </simpleAuthenticationPlugin> <authorizationPlugin> <map> <authorizationMap> <authorizationEntries> <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" /> </authorizationEntries> <tempDestinationAuthorizationEntry> <tempDestinationAuthorizationEntry read="users" write="users" admin="admins" /> </tempDestinationAuthorizationEntry> </authorizationMap> </map> </authorizationPlugin> </plugins> <transportConnectors> <transportConnector name="default" uri="${ACTIVEMQ_TRANSPORT}" /> </transportConnectors> <systemUsage> <systemUsage> <tempUsage> <tempUsage limit="32mb"/> </tempUsage> </systemUsage> </systemUsage> </broker> <bean id="oracle-ds" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName" value="java:jboss/datasources/DSNAME"/> </bean> </beans> Why does the broker with JDBCPersistenceAdapter needs a local temporary storage? Is something wrong with my configuration? I would appreciate any help. Thanks! Alex -- View this message in context: http://activemq.2283324.n4.nabble.com/Messages-about-tmp-storage-with-JDBCPersistenceAdapter-tp4654846.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.