1 Reply Latest reply on Jan 17, 2007 6:49 AM by Ben Wang


    Annette Scherer Newbie

      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.