activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nkiesel <>
Subject JDBC journal recovery takes a _long_ time
Date Fri, 23 Nov 2007 21:31:27 GMT


I'm using AQ 4.1.1 with network of 2 embedded brokers. I use Oracle in my
project and so configured the persitence adapter to use Oracle as well (see
below).  If the priimary broker was running for a some days and then killed
and restarted, recovering takes more than 1 hour:

2007-11-23 13:56:13,461 INFO 
[] Database driver
recognized: [oracle_jdbc_driver]
2007-11-23 13:56:13,984 INFO 
[] Attempting to acquire
the exclusive lock to become the Master broker
2007-11-23 13:56:14,024 INFO 
[] Becoming the master
on dataSource: oracle.jdbc.pool.OracleDataSource@f2db2d
2007-11-23 13:56:16,506 INFO 
[] Journal
Recovery Started from: Active Journal: using 5 x 20.0 Megs at:
2007-11-23 14:58:49,055 INFO 
[] Journal
Recovered: 25634 message(s) in transactions recovered.
2007-11-23 14:58:53,153 INFO  []
ActiveMQ JMS Message Broker (localhost, ID:tango-34566-1195847769556-1:0)

Why is it taking so long?  Also, should I be worried about the "25634
message(s) in transactions recovered"? I'm using persistent queues (bridged
between the 2 brokers). Would changing the number or size of journalLogFiles
make any difference (searched for docu one these, but did not find any).


      <journaledJDBC journalLogFiles="5" dataDirectory="/sync/data"

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

View raw message