You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by Eric Wolf <Er...@bcbsks.com> on 2007/03/12 23:28:57 UTC

no key saved in C drive key file

I am testing JCS in WebSphere and I had it working in a quick test.  Now my 
objects get moved to disk, the data file has data, but the key file always 
stays empty.  I have the config file moving them quickly to disk for testing.  
I think I have MAXIDLETIME = 30 and its checking to move them at 40 seconds.  
Is there some minimum times and that is not saving my keys?  I was using 
version 1.2.7.0 and I just tested the latest version 1.2.7.9.2 and the results 
are the same.  The keys used are an Integer class with a 1 - 4 in it.  I also 
changed one to a String "one" and it failed as well.  The memory cache is 
working fine with the same keys.  Do you have any ideas?

Eric Wolf


Aaron wanted me to put this on the list.  His response is below:

The keys are not written to disk until shutdown or optimization.  The
indexed disk cache docs explain this.  The disk is "indexed."  The
keys are stored in memory along with the offset of the record on disk.

http://jakarta.apache.org/jcs/IndexedDiskAuxCache.html

Read the docs and send your messages to the list so others with
similar questions can benefit.

Cheers,

Aaron



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


Re: no key saved in C drive key file

Posted by Al Forbes <fo...@googlemail.com>.
Hi Eric,

Try having no memory cache and see what happens. Set MaxObjects=0

Regards
Al


On 12/03/07, Eric Wolf <Er...@bcbsks.com> wrote:
> I am testing JCS in WebSphere and I had it working in a quick test.  Now my
> objects get moved to disk, the data file has data, but the key file always
> stays empty.  I have the config file moving them quickly to disk for testing.
> I think I have MAXIDLETIME = 30 and its checking to move them at 40 seconds.
> Is there some minimum times and that is not saving my keys?  I was using
> version 1.2.7.0 and I just tested the latest version 1.2.7.9.2 and the results
> are the same.  The keys used are an Integer class with a 1 - 4 in it.  I also
> changed one to a String "one" and it failed as well.  The memory cache is
> working fine with the same keys.  Do you have any ideas?
>
> Eric Wolf
>
>
> Aaron wanted me to put this on the list.  His response is below:
>
> The keys are not written to disk until shutdown or optimization.  The
> indexed disk cache docs explain this.  The disk is "indexed."  The
> keys are stored in memory along with the offset of the record on disk.
>
> http://jakarta.apache.org/jcs/IndexedDiskAuxCache.html
>
> Read the docs and send your messages to the list so others with
> similar questions can benefit.
>
> Cheers,
>
> Aaron
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jcs-dev-help@jakarta.apache.org
>
>

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