[jboss-user] [JBossCache] - java.io.NotSerializableException:org.jboss.cache.aop.collect
annette
do-not-reply at jboss.com
Mon Jan 15 15:04:55 EST 2007
We use JBoss Cache Version 1.4.1 GA. When trying to serialize an object stored in PojoCache, we receive a java.io.NotSerializableException.
Here a concrete example:
- we put a Vector, containing String variables into PojoCache on server: (pojoCache.putObject(pojoKey, aVector)
- When reading the object from cache (pojoCache.getObject(pojoKey)), we get an object of type AOPClassProxy0, which has amongst others an attribute of type CachedListInterceptor, that is not serializable.
- when trying to serialize, we receive: java.io.NotSerializableException:org.jboss.cache.aop.collection.CachedListInterceptor
How can we solve this problem? We only need the vector data to put them to client cache after transferring from server to client.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001903#4001903
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001903
More information about the jboss-user
mailing list