cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: [c2 patch] MRUMemoryStore
Date Fri, 20 Jul 2001 10:31:07 GMT
Thanks.

Patch is applied. Please cross check.

Carsten

> -----Ursprüngliche Nachricht-----
> Von: Gerhard Froehlich [mailto:g-froehlich@gmx.de]
> Gesendet: Donnerstag, 19. Juli 2001 23:53
> An: cocoon
> Betreff: [c2 patch] MRUMemoryStore
>
>
> 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\r
> esin-2.0.1
> \webapps\cocoon\WEB-INF\my-dir\my-dir\PCK%3ACCK%3A3-html-1PCK%3ACC
> K%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(Filesyste
> mStore.jav
> a:123)
> 	at
> org.apache.cocoon.components.store.MRUMemoryStore.run(MRUMemorySto
> re.java:23
> 6)
> 	at java.lang.Thread.run(Thread.java:484)
>
> Cheers
> Gerhard
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message