activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin C." <>
Subject Re: EOFException when accessing message's properties
Date Wed, 06 Apr 2011 22:19:04 GMT

as a follow-up, I'm currently seeing a very highly elevated error rate
on a deployment with 5.4.2. The very strange issue here is that if I
move the message out of the DLQ into the original queue, after some
attempts it gets consumed without problems.

Anybody got any ideas? Could this have to do with prefetch limit being
set to 1 and XA transactions (I read about issues with prefetch and
spring on the homepage, but this indicates that one should be a valid

Thanks in advance for any help!

Best regards,

---------- Forwarded message ----------
From: Martin C. <>
Date: Fri, Mar 11, 2011 at 9:27 AM
Subject: EOFException when accessing message's properties
To: users <>


I am experiencing a corrupt message (see stacktrace below) which fails
when attempting to access the message's properties. We had this on two
occurances until now, both on a 5.3.2 broker. The issue happens
persists on 5.4.2, if we start it with the KahaDB datastore of the
5.3.2 instance. The message finally ended in a DLQ, but it also cannot
be processed from there.

The issue seems to only happen when deserializing the message (either
via network or from KahaDB on startup), as the message was viewable in
the webinterface of the broker before a restart, but afterwards, the
same exception occures when trying to browse the queue containing the
message in the web-interface.
Unfortunately I do not know a way to reproduce this, as this happens
only once every several-million messages. I also unfortunately cannot
provide the corrupt datastore due to sensitive data being included.

Do you have any idea, if/how I can recover the message somehow?

       at org.apache.activemq.util.JMSExceptionSupport.create(
       at org.apache.activemq.filter.PropertyExpression.evaluate(
       at org.apache.activemq.command.ActiveMQMessage.getObjectProperty(
       at org.apache.activemq.command.ActiveMQMessage.getStringProperty(
       ... snip: some myapp.internal method calls ...
       at myapp.MessageHandler.onMessage(
       at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(
       at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(
       at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(
       at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(
       at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(
       at org.springframework.jms.listener.DefaultMessageListenerContainer$
Caused by:
       at org.apache.activemq.util.MarshallingSupport.unmarshalPrimitiveMap(
       at org.apache.activemq.util.MarshallingSupport.unmarshalPrimitiveMap(
       at org.apache.activemq.command.Message.unmarsallProperties(
       at org.apache.activemq.command.Message.getProperty(
       at org.apache.activemq.filter.PropertyExpression.evaluate(
       ... 15 more

Thanks in advance,

View raw message