cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Froehlich" <g-froehl...@gmx.de>
Subject [c2 patch] MRUMemoryStore
Date Thu, 19 Jul 2001 21:52:57 GMT
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

Mime
View raw message