Yes, shutdown the cache properly to force the items in memory to go to disk. There is a shutdown method on the CompositeCacheManager
> -----Original Message----- > From: Tore Halset [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 11, 2007 9:22 AM > To: JCS Users List > Subject: IndexedDiskCache and restart/redeploy in jboss > > Hello. > > I am using a local IndexedDiskCache and it works very well except for > one small thing.. After a restart or repdeploy of our application > (deployed as a war in jboss), the items that was in the cache before > the restart are no longer in the cache and has to be recreated. > > Serialization/deserialization of the objects work after a restart > outside of the JCS environment, so it should not be a serialization > issue. > > I do not issue a JCS shutdown command before restart. Should I? How? > > - Tore. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]