jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Smuts, Aaron" <Aaron.Sm...@travelocity.com>
Subject RE: IndexedDiskCache and restart/redeploy in jboss
Date Wed, 11 Jul 2007 19:52:54 GMT
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:halset@pvv.ntnu.no]
> 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: jcs-users-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jcs-users-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Mime
View raw message