You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-users@jakarta.apache.org by Christian Kreutzfeldt <kr...@subshell.com> on 2003/03/27 16:52:24 UTC

Saving keys

Hi again!

Again the topic of shutdown and start of an application using jcs. I use jcs in
a webapplication. When I kick the servlet container (resin or tomcat), the key file
has not been written to disk thus the application cannot retrieve the keys
during the next startup thus my cached content is gone. Is there a solution
to this problem? Maybe some key-auto-saving functionality?

Christian
--
subshell gmbh
Christian Kreutzfeldt
Weidenallee 1                       t +49.40.431 362-27
20357 Hamburg                       f +49.40.431 362-29
http://www.subshell.com               kreutzfeldt@subshell.com

RE: Saving keys

Posted by "Baum, Karl" <Ka...@Tallan.com>.
Last time I took a look at the source code, there was a comment about
eventually implementing this functionality.  As for now the file system
is used to swap elements in and out of memory when the cache max sizes
are reached.  I will probably need this functionality for my project and
will have to look into implementing.

-----Original Message-----
From: Christian Kreutzfeldt [mailto:kreutzfeldt@subshell.com] 
Sent: Thursday, March 27, 2003 7:52 AM
To: Turbine JCS Users List
Subject: Saving keys

Hi again!

Again the topic of shutdown and start of an application using jcs. I use
jcs in
a webapplication. When I kick the servlet container (resin or tomcat),
the key file
has not been written to disk thus the application cannot retrieve the
keys
during the next startup thus my cached content is gone. Is there a
solution
to this problem? Maybe some key-auto-saving functionality?

Christian
--
subshell gmbh
Christian Kreutzfeldt
Weidenallee 1                       t +49.40.431 362-27
20357 Hamburg                       f +49.40.431 362-29
http://www.subshell.com               kreutzfeldt@subshell.com