activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From petrkorda <>
Subject MessageConsumer and NotSerializableException
Date Fri, 23 May 2008 10:59:02 GMT


Tomcat throws a number of NotSerializableException exceptions when being
restarted and when there are some active AJAX AMQ listeners.

The problem is related with mls.consumerDestinationNameMap which is stored
in user's session and which is defined as Map<MessageAvailableConsumer,
String> while MessageAvailableConsumer is not serializable.

I was wondering if there is any standard solution to this you can suggest

Another thing - AJAX messaging never works after Tomcat's restart and the
first time I open a page which contacts AjaxServlet. Fiddler shows empty
<ajax-response></ajax-response> every 30 seconds.
After the first refresh everything starts to work.
It may be related with the thing I describe above, but I don't know.

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

View raw message