[jboss-user] [JBossCache] - Re: java.io.NotSerializableException:org.jboss.cache.aop.col

ben.wang@jboss.com do-not-reply at jboss.com
Wed Jan 17 06:49:51 EST 2007


You can't unless you do a proper removeOjbect first. E.g., before sending it out thru the wire, you will need:

v = cache.removeObject(fqn);

Otherwise, it is a proxy that not serializable because it contains local data only.

Or another option is cloning it first before sending it, and then do a putObject if you decide to put it back to the cache.



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

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



More information about the jboss-user mailing list