Hello,

after installing Jetspeed 1.1 on WinNT, I was not able to get the
CocoonPartlet to run. After some investigation, i ran across the following:

A. caching of documents is done redundantly. Under NT, this means that an
already cached page is entered into tha cache twice, with an invalid
filename on the second try, which causes an error. The offending lines are
in CocoonRenderer.transform(a, b, c) (line 120):

        /*
        the responsibility for accessing the cache via PersistentDocument
        seems to be not clearly defined. Sometimes the url already points
        to a cached document
        */
        filter.print( url
/*PersistentDocument.getInstance( rundata ).getEntry( url ).getURL()*/ );


also, when the JetspeedServletRequest is created in
CocoonRenderer.transform(a, b), the request has a path of null, which causes
Cocoon to trap. My solution was to change the getPathTranslated() method so
that it returns an empty string instead of null.

Christian Sell



--
--------------------------------------------------------------
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]

Reply via email to