« Struts Validator and... | Main | Frustration »

FreeRoller OSCache misconfiguration.

I logged into the FreeRoller server for the first time in long time and, on a hunch, I started investigating the OSCache configuration. Turned out, the disk cache directory did not exist. I created the directory and gave it the right write permissions, but OSCache is still not using the disk cache. I'm not sure why. I turned on DEBUG logging for OSCache and I saw the message below, so OSCache clearly knows the location of the cache directory. These settings were good enough for OSCache 1.7.5. What's the deal with 2.0?

INFO HttpProcessor[80][2] com.opensymphony.oscache.base.Config - Properties { 
   cache.debug=false, 
   cache.path=/sites/hosted/freeroller/cache,
   cache.unlimited_disk=false, 
   cache.capacity=600, 
   cache.memory=true
}

I'd like to set cache.unlimited_disk=true and then use a cron job to clear the cache every night, but right now I just want to get the disk cache working. Any ideas?

Comments:

[Trackback] I was trying to solve this common maintenance problem for an open source project. The problem I had was to notify people of unused entries in the database which required cleanup. In my case the entries had an 'owner' associated with it so ...

Posted by Agents, Java, Workflow, KM..@www.Guruness.com on November 06, 2003 at 10:25 AM EST #

Post a Comment:
  • HTML Syntax: NOT allowed

« Struts Validator and... | Main | Frustration »

Welcome

This is just one entry in the weblog Blogging Roller. You may want to visit the main page of the weblog

Related entries

Below are the most recent entries in the category Java, some may be related to this entry.