Hello, My object is getting cached succesfully by using JCS. But second time after shutdown/dispose , data is not getting cached. When I am restarting my server then again it cached the data and appended the exising .data file. but again second time data is not getting cached.
I followed the instruction to use file-based cache, i.e. invoke dispose()/shutdown() and found that the cache content was saved to file. However, after invoking dispose()/shutdown(), it seems that dispose()/shutdown() has closed the auxiliary cache region that further addition to the cache will no longer be saved to cache, even I invoke dispose() again. Is there any way that I can continue JCS object (in the same thread, same JVM) (to save object into file cache) after invoking dispose()? I tried calling JCS.getInstance() again with the same region name, but the object is not getting cached in disk. Dispose()/Shutdown is necessary for each transaction, because I have to cache each transaction in my local disk, and if I am calling dispose()/shutdown() , not able to call dispose()/shutdown() again for next transaction.So for every next transaction either I am doing rebuild the application or restarting the server. Thanks Deepak Srivastava -- View this message in context: http://old.nabble.com/Data-is-not-getting-cached-2nd-time-after-calling-dispose%28%29-shutdown%28%29-tp30116400p30116400.html Sent from the JCS - Users mailing list archive at Nabble.com.
