Hi,

I take it that in your cache.ccf configuration file you have set:
jcs.default.elementattributes.IsSpool=true

It determines whether or not the element can go to disk, if a disk cache
is configured for the region.


> I do not issue a JCS shutdown command before restart. Should I? How?
The following is a JCS convenience class to cleanly send shutdown
commands to all of your different caches (e.g. LRUMemoryCache,
IndexedDiskCacheFactory, RemoteCacheFactory e.t.c. ) in one go.

CompositeCacheManager compositeCacheManager =
CompositeCacheManager.getInstance();
compositeCacheManager.release();
compositeCacheManager.shutDown();

Hope it helps you out.

Regards,
Simon

-----Original Message-----
From: Tore Halset [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 11, 2007 2:22 PM
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]


This message and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this message in error please delete it and any files 
transmitted with it, after notifying [EMAIL PROTECTED] 
Any opinions expressed in this message may be those of the author and not 
necessarily those of the company. The company accepts no responsibility for the 
accuracy or completeness of any information contained herein. This message is 
not intended to create legal relations between the company and the recipient. 
Recipients should please note that messages sent via the Internet may be 
intercepted and that caution should therefore be exercised before dispatching 
to the company any confidential or sensitive information. 
Mizuho International plc Bracken House, One Friday Street, London EC4M 9JA. 
TEL. 020 72361090. Wholly owned subsidiary of Mizuho Securities Co., Ltd. 
Member of Mizuho Financial Group. Authorised and regulated by the Financial 
Services Authority. Member of the London Stock Exchange. 

Registered in England No. 1203696. Registered office as above.


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

Reply via email to