[jboss-user] [Clustering/JBoss] - NotSerializableException: javax.servlet.http.Cookie

bezdomny do-not-reply at jboss.com
Mon Jul 21 09:42:40 EDT 2008


I'm getting the following exception when one of my nodes is trying to replicate to another. Am I mission a config option? It seems that cookies would be Serializable. I've gotten around the type of exception with some of my other Objects by making the serializable, but obviously that is impossible in this case. 

Has anyone else seen this behaviour? I'm really new to jboss clustering so I may be doing something wrong.

Thanks!

B

ERROR [org.jboss.web.tomcat.service.session.JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: PSJByxuaf3ycpL9K9Y1E1g**.node1 lastAccessedTime: 1216647130202 version: 5 lastOutdated: 0]
java.io.NotSerializableException: javax.servlet.http.Cookie
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
        at java.util.HashMap.writeObject(HashMap.java:1001)
        at sun.reflect.GeneratedMethodAccessor161.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165649#4165649

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165649



More information about the jboss-user mailing list