Ok Here it is: I renamed the cache properties file to a custom file name. After quite a lot of deploys, I finally got it to pick it up by placing this file at the root of jcs.jar. For now, this location should be ok.
But now, though this is working well, I see a different kind of error/exception being logged. Though this is not a show stopper, I would prefer our project not throw out these too. I have attached both exception details as well as the updated cache file. http://old.nabble.com/file/p27156343/pricelist-data-cache.ccf pricelist-data-cache.ccf http://old.nabble.com/file/p27156343/jcache.log jcache.log Note: I feel that exception caused might be related to the following lines in cache properties: jcs.default= jcs.default.cacheattributes= I tried commenting out these two lines in both default and specific scope, but then it wasn't able to pick up my properties file. So what values could I use here, provided I do not want anything related to any kind of disk writing or anything other than memory caching. Thanks, Kalyan --------------------------------------------------------- techie09 wrote: > > Hi Aaron, > > I am now trying to re-deploy by changing the name to a non-default name. I > shall keep u posted in case I find any difference in logs. > > Thanks, > Kalyan > > > > techie09 wrote: >> >> Hi Aaron, >> >> >> I am using JCS 1.3. >> >> I am attaching the log and the updated ccf file. After quite a few tries, >> it is still going to some default params that I have no clue where it is >> picking from. >> >> http://old.nabble.com/file/p27154408/cache.ccf cache.ccf >> http://old.nabble.com/file/p27154408/jcache.log jcache.log >> >> >> Thanks, >> Kalyan >> >> >> >> Aaron Smuts wrote: >>> >>> And what version of JCS are you using? You should use the latest in the >>> temp build folder. >>> >>> 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-tp27026745p27156343.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