activemq-users mailing list archives

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

Hi,

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
me?

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.

Thanks,
Petr
-- 
View this message in context: http://www.nabble.com/MessageConsumer-and-NotSerializableException-tp17423356s2354p17423356.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message