Hi all,

There is a problem with the Caching using the filesystem.  It
stopped working when the "cache-dir" parameter was added to the
web.xml deployment descriptor.

I have the "cache-directory" parameter set to

  /WEB-INF/work/cache-dir

That directory is being created.  However, the cached items
are being stored under (NOTE: /tmp is the CONTEXT_WORK_DIR
in my configuration, which I believe is the default)

  /WEB-INF/tmp/cache-dir/some-cache-key

and are being locked for under 

  /WEB-INF/tmp/same-cache-key-as-above

I've taken a brief lock at it and it seems to be because
their is only a single FilesystemStore() created in 
Cocoon.java and that is defining the directory for this
fs store to be based on Constants.CONTEXT_WORK_DIR

I'm not sure how to fix this.  Should a new role be created
in cocoon.roles?

BTW, the Memory caching is working fine.  It's just the fs store
that I'm having issues with.  It's a nice way of building static
content without actually having to build static content.  :)

-- 
Rick Tessner    [EMAIL PROTECTED]
MYRA Systems Corp. Fone: (250) 381 1335 x125  Phax: (250) 381 1304
                   Cell: (250) 885 9452

"Time grabs you by the wrist, directs you where to go.
 So make the best of this test and don't ask why.'


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to