Hi Team,
I determined the context path wrong. I overlooked an
exiting method in IOUtils class. Now it should work
correctly, but as Rick mentioned the path of the cache-dir
must be always relativ to the work-dir.

Maybe the problem is in that fileFromKey() method in
the FilesystemStore where always the work-dir is added.

Following log entry when I use not a "relativ to work-dir"
path:
ERROR   99557   [cocoon  ] (writer): Error in MRUMemoryStore
java.io.FileNotFoundException:
C:\Programme\resin-2.0.1\webapps\cocoon\WEB-INF\tmp\C:\Programme\resin-2.0.1
\webapps\cocoon\WEB-INF\my-dir\my-dir\PCK%3ACCK%3A3-html-1PCK%3ACCK%3A1-file
-339230469282939342CCK%3A2-xslt--2160840911574002556 (Die Syntax für den
Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:132)
        at org.apache.cocoon.util.IOUtils.serializeObject(IOUtils.java:88)
        at
org.apache.cocoon.components.store.FilesystemStore.store(FilesystemStore.jav
a:123)
        at
org.apache.cocoon.components.store.MRUMemoryStore.run(MRUMemoryStore.java:23
6)
        at java.lang.Thread.run(Thread.java:484)

Cheers
Gerhard

patch_storing.diff

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

Reply via email to