It seems this happens because Jetspeed tries to enter a file into the disk
cache twice (which is wrong), and on the second try the generated filename
becomes mixed up. My solution was to change the code in CocoonRenderer.java,
line 116, like so:
filter.print( url
/*PersistentDocument.getInstance( rundata ).getEntry( url ).getURL()*/ );
regards
-----Original Message-----
From: Rapheal Kaplan <[EMAIL PROTECTED]>
To: 'JetSpeed' <[EMAIL PROTECTED]>
Date: Donnerstag, 25. Mai 2000 22:10
Subject: RE: Cocoon Example error
> I am having the same error. I looked through the code trying to
>determine what the problem is but it is not immediately obvious. Let me
>know if you find a solution, just so I know what happened.
>
>Rapheal Kaplan [EMAIL PROTECTED]
>AdOne, LLC
>Senior Software Architect
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of GregPreston
>Sent: Sunday, May 21, 2000 5:45 PM
>To: JetSpeed
>Subject: Cocoon Example error
>
>
>Thanks for everyones help so far.
>
>Win98
>Tomcat v3.1
>Jetspeed v1.1
>
>I'm having an issue that I believe I saw discussed in the news groups but
>was unable to find the solution. Going to jetspeed home i get the
following
>error under the Example Cocoon:
>
>CocoonPortlet: Could not use the following URL:
>http://localhost:80/content/dynamic/index.xml
>
>/d:/temp/JetspeedDocumentCache\file..d....temp.JetspeedDocumentCache\http..
l
>ocalhost......80..content..dynamic..index....xml
> (The system cannot find the path specified)
>
>My JetspeedResources.properties has the following entry:
>cache.directory=/d:/temp/JetspeedDocumentCache
>
>
>turbine.log
>[Sat May 20 16:55:42 CDT 2000] -- ERROR -- CocoonPortlet: Could not use
>the following URL: http://localhost:80/content/dynamic/index.xml
>/d:/temp/JetspeedDocumentCache\file..d....temp.JetspeedDocumentCache\http..
l
>ocalhost......80..content..dynamic..index....xml (The system cannot find
the
>path specified)
> Exception: java.io.FileNotFoundException:
>/d:/temp/JetspeedDocumentCache\file..d....temp.JetspeedDocumentCache\http..
l
>ocalhost......80..content..dynamic..index....xml (The system cannot find
the
>path specified)
> Stack Trace follows:
> java.io.FileNotFoundException:
>/d:/temp/JetspeedDocumentCache\file..d....temp.JetspeedDocumentCache\http..
l
>ocalhost......80..content..dynamic..index....xml (The system cannot find
the
>path specified)
> at java.io.FileOutputStream.open(Native Method)
>
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Archives and Other: <http://java.apache.org/main/mail.html>
>Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]