Hi Aaron,
Thanks so much for spending time on this helping me out. But now this is starting to boggle me. I searched our entire project, and there is only cache.ccf (and this is the one I had attached earlier) in the whole project including the jars. I made a fresh deploy and am still getting the same exception in the server logs. And our JVMs have no other apps on it except for ours. Update: I even added the line "JCS.setConfigFilename("/cache.ccf");" to take the specific cache.ccf file. Still no use. :-( Thanks, Srinivas Aaron Smuts wrote: > > There must be a different cache.ccf file on the classpath. JCS will not > instantiate the Indexed Disk Cache unless it's configured to do so. Look > at the startup log entries. It will give you information on the region > configuration and possibly the cache file. In any case, there's got to be > a different config file on the classpath. > > Aaron > > --- On Tue, 1/12/10, techie09 <techiekal...@gmail.com> wrote: > >> From: techie09 <techiekal...@gmail.com> >> Subject: Re: using JCS to make use of LRU only >> To: jcs-users@jakarta.apache.org >> Date: Tuesday, January 12, 2010, 11:07 AM >> >> I tried setting it not to use any kind of auxilliary cache. >> But when I deploy >> the code onto our WAS servers (these have strict policies >> not to let any >> data to be written to disk, not even to the temp folder), >> it is coming out >> with an access error. I am attaching both cache.ccf and the >> exception >> details in two files. >> >> http://old.nabble.com/file/p27131961/Exception%2BDetails.txt >> Exception+Details.txt >> http://old.nabble.com/file/p27131961/cache.ccf >> cache.ccf >> >> Please advise as this is on our project critical path. >> >> Thanks, >> Kalyan >> >> ----------------------------------------------------------------------------------------- >> >> Aaron Smuts wrote: >> > >> > There is no such thing as an LUR model. >> > >> > JCS allows you to use various auxiliaries. They >> come in a few simple >> > types: memory, disk, lateral, and remote. If you >> don't configure the >> > cache to use a disk auxiliary, it won't use one. >> >> > >> > Read the documentation. If you can't figure it >> out, send your cache.ccf >> > file to the mailing list. >> > >> > Aaron >> > >> > --- On Tue, 1/5/10, techie09 <techiekal...@gmail.com> >> wrote: >> > >> >> From: techie09 <techiekal...@gmail.com> >> >> Subject: using JCS to make use of LRU only >> >> To: jcs-users@jakarta.apache.org >> >> Date: Tuesday, January 5, 2010, 4:16 PM >> >> >> >> My requirement is to use an in-memory cache in >> absolute >> >> terms, i.e., >> >> absolutely no data is to be written to disk. >> >> But when I use JCS I see that it is writing some >> data to >> >> disk even though I >> >> am trying to use LRU as my memory model. >> >> Is there any way that I get to use JCS without >> writing any >> >> data to disk. >> >> -- >> >> View this message in context: >> >> >> http://old.nabble.com/using-JCS-to-make-use-of-LRU-only-tp27026745p27026745.html >> >> Sent from the JCS - Users mailing list archive at >> >> Nabble.com. >> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: jcs-users-unsubscr...@jakarta.apache.org >> >> For additional commands, e-mail: jcs-users-h...@jakarta.apache.org >> >> >> >> >> > >> > >> --------------------------------------------------------------------- >> > To unsubscribe, e-mail: jcs-users-unsubscr...@jakarta.apache.org >> > For additional commands, e-mail: jcs-users-h...@jakarta.apache.org >> > >> > >> > >> >> -- >> View this message in context: >> http://old.nabble.com/using-JCS-to-make-use-of-LRU-only-tp27026745p27131961.html >> Sent from the JCS - Users mailing list archive at >> Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: jcs-users-unsubscr...@jakarta.apache.org >> For additional commands, e-mail: jcs-users-h...@jakarta.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jcs-users-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jcs-users-h...@jakarta.apache.org > > > -- View this message in context: http://old.nabble.com/using-JCS-to-make-use-of-LRU-only-tp27026745p27150057.html Sent from the JCS - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: jcs-users-unsubscr...@jakarta.apache.org For additional commands, e-mail: jcs-users-h...@jakarta.apache.org