[Opensymphony-oscache] cache files will not write

raigunn <[email protected]> Tue, 26 Jul 2005 12:05:39 CDT
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <17323549.1122397806110.JavaMail.os-j2ee@opensymphony01.contegix.com>
We have a problem where the cache files are not writing to our cache directory.  These are our property settings:

cache.persistence.class=com.opensymphony.oscache.plugins.diskpersistence.DiskPersistenceListener
cache.path=d:\\cache
cache.capacity=1000

This is the error message:
com.opensymphony.oscache.base.persistence.CachePersistenceException: Unable to write
'D:\cache\application\__medicare_healthplantracker_georesults_jsp?c=&yo=&r=1
5&i=&n=1.cache' in the cache. Exception: java.io.FileNotFoundException,
Message:
D:\cache\application\__medicare_healthplantracker_georesults_jsp?c=&yo=&r=15
&i=&n=1.cache (The filename, directory name, or volume label syntax is
incorrect)


What is strange is that after I created the d:/cache directory, oscache was able to create the necessary subdirectories such as:
D:\cache\application
D:\cache\application\__groups__
D:\cache\application\__groups__\mhpt.cache

It just doesn't write any of the actual cache files and generates the errors above.  We have given everthing seemingly possible write permissions.  Any ideas?

(incase it matters, we are caching JSP pages on a CFusionMX7 server with IIS.)

Thanks!

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=4697&messageID=11393#11393