have you removed the kaha database before this run ?
On 19 Oct 2006, at 09:29, ojs wrote:
rajdavies wrote:
This is now fixed in SVN head
I still have the same problem with this version. Just the log
output changed
a bit:
First run ends with:
[Thread-2] DEBUG
org.springframework.beans.factory.support.DisposableBeanAdapter -
Applying
DestructionAwareBeanPostProcessors to bean with name
'org.apache.activemq.xbean.XBeanBrokerService'
[Thread-2] DEBUG
org.springframework.beans.factory.support.DisposableBeanAdapter -
Invoking
destroy() on bean with name
'org.apache.activemq.xbean.XBeanBrokerService'
[Thread-2] INFO org.apache.activemq.broker.BrokerService - ActiveMQ
Message Broker (localhost, ID:dev1-45326-1161240040538-1:0) is
shutting down
[Thread-2] DEBUG org.apache.activemq.broker.region.AbstractRegion -
Removing consumer: ID:dev1-45326-1161240040538-3:0:-1:1
[Thread-2] INFO org.apache.activemq.broker.TransportConnector -
Connector
vm://localhost Stopped
[Thread-2] INFO org.apache.activemq.broker.BrokerService -
ActiveMQ JMS
Message Broker (localhost, ID:dev1-45326-1161240040538-1:0) stopped
Second run hangs with:
[main] INFO org.apache.activemq.broker.BrokerService - ActiveMQ
null JMS
Message Broker (localhost) is starting
[main] INFO org.apache.activemq.broker.BrokerService - For help
or more
information please see: http://incubator.apache.org/activemq/
[main] INFO org.apache.activemq.kaha.impl.KahaStore - Kaha Store
using
data directory /tmp/kahastore/kaha.db
[main] DEBUG org.apache.activemq.kaha.impl.data.DataManager - End
of data
file reached at (header was invalid): offset = 384, file = 1, size
= 261
[main] DEBUG org.apache.activemq.kaha.impl.data.DataManager - End
of data
file reached at (header was invalid): offset = 30992, file = 1,
size = 260
I'd like to provide a stack trace, but I don't know how. I run this
test
using the JUnit-Eclipse plugin.
Best
Oliver
--
View this message in context: http://www.nabble.com/ActiveMQ-4.1-
hangs-when-using-kaha-persistence-tf2465546.html#a6892576
Sent from the ActiveMQ - User mailing list archive at Nabble.com.