Hi Eric,

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

Regards
Al


On 12/03/07, Eric Wolf <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to