activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin C." <>
Subject EOFException when accessing message's properties
Date Fri, 11 Mar 2011 08:27:19 GMT

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