activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qi Liu <>
Subject A question about persistence using Oracle
Date Fri, 20 Jul 2007 10:37:44 GMT

I've configed my activemq.xml file like this :

	<broker useJmx="false" xmlns="" >

			<transportConnector uri="tcp://localhost:61616"
				discoveryUri="multicast://default" />

			<networkConnector uri="multicast://default" />

		<jdbcPersistence dataSourceRef="#oracle-ds" />

	<bean id="oracle-ds" class="org.apache.commons.dbcp.BasicDataSource"
		<property name="driverClassName"
			value="oracle.jdbc.driver.OracleDriver" />
		<property name="url"
			value="jdbc:oracle:thin:@MYIP:1521:JDBC_USER" />
		<property name="username" value="user" />
		<property name="password" value="pass" />
		<property name="poolPreparedStatements" value="true" />

and i hope i can use Oracle for persistence ,but  it seems that the
persistence is done by Journal(actually , i don't konw what Journal is , it
seems the default persistence model), and the segment of log like :
  信息: ActiveMQ 4.1.1 JMS Message Broker (localhost) is starting
2007-7-20 18:27:49 getBroker
信息: For help or more information please see:
2007-7-20 18:27:51
信息: Database driver recognized: [apache_derby_embedded_jdbc_driver]
2007-7-20 18:27:53
信息: Attempting to acquire the exclusive lock to become the Master broker
2007-7-20 18:27:53
信息: Becoming the master on dataSource:
2007-7-20 18:27:53 recover
信息: Journal Recovery Started from: Active Journal: using 2 x 20.0 Megs at:
2007-7-20 18:27:53 recover
信息: Journal Recovered: 0 message(s) in transactions recovered.

so, can anybody tell me where the mistake lies?
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message