activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Thomas Lichti <roland.lic...@telefonica.de>
Subject Problem reading kahaPersistence data store
Date Wed, 17 Mar 2010 12:43:41 GMT
Hi,

after a broker shutdown I get IOExceptions when starting again. The
broker tries to ack a message but since the broker restarted the session
is gone. We use a kahaPersistenceAdapter (after having to much problems
with kahaDB). It is no solution to switch to another store, since we
need the messages inside the defective store. Is there any way to get
around the following exception?

We basically need only the data from the queues. If we get them in text
files, that's ok. We need name of destination, the properties and the
TextMessage inside the body. Since we only use TextMessages we don't
have to care about the different payload types.


2010-03-17 11:37:09,954 WARN 
org.apache.activemq.broker.region.AbstractRegion - Ack for non existent
subscription, ack:MessageAck {commandId = 145, responseRequired = false, ack
Type = 2, consumerId = ID:solz-1556-54374-1268742357999-0:121:-1:2,
firstMessageId = ID:solz-1555-53110-1268744150357-0:86:49:1:1,
lastMessageId = ID:solz-1555-53110-126874415035
7-0:86:49:1:1, destination =
queue://A049_jms_q_intern_voiceJmsResponder, transactionId =
XID:131075:312d616537653932373a643161363a34623966373861363a3765353765:616537653932373a64
3161363a34623966373861363a3765353766, messageCount = 1}
2010-03-17 11:37:09,959 ERROR org.apache.activemq.broker.BrokerService -
Failed to start ActiveMQ JMS Message Broker. Reason:
java.io.IOException: Recovery Failed: The subscripti
on does not exist: ID:solz-1556-54374-1268742357999-0:121:-1:2
java.io.IOException: Recovery Failed: The subscription does not exist:
ID:solz-1556-54374-1268742357999-0:121:-1:2
        at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
        at
org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:110)
        at
org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:154)
        at
org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:154)
        at
org.apache.activemq.broker.BrokerService$3.start(BrokerService.java:1668)
        at
org.apache.activemq.broker.BrokerService.start(BrokerService.java:452)
        at
org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:56)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
[...]

bye,
    Roland

-- 
Roland Thomas Lichti
IT Application Manager

Telef├│nica o2 Germany GmbH & Co. OHG
H├╝lshorstweg 30, 33415 Verl
t: +49 5246 80 1121, f: +49 5246 80 2121
m: +49 160 98949570
roland.lichti@telefonica.de
http://www.telefonica.de

Bitte finden Sie hier die
handelsrechtlichen Pflichtangaben: http://www.telefonica.de/pflichtangaben.html



Mime
View raw message