+ The cocoon path was set properly:
sun-fs-01:/export/home/aschuma/app/apache/tomcat_jetspeed/conf> cat
JetspeedResources.properties | grep coco
cocoon.properties.file=/export/home/aschuma/app/apache/tomcat_jetspeed/conf/
cocoon.properties
sun-fs-01:/export/home/aschuma/app/apache/tomcat_jetspeed/conf> ls
cocoon.properties
cocoon.properties
+ I temp. "solved" the problem by doing a fix in cocoon's Engine class.
/**
* This method is called to start the processing when calling the engine
* from the Cocoon servlet.
*/
public void handle(HttpServletRequest request, HttpServletResponse response)
throws Exception {
[..]
// pass needed parameters to the processor pipeline
Hashtable environment = new Hashtable();
if ( producer.getPath(request) != null )
{
environment.put("path", producer.getPath(request) );
}
[..]
Arno
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Paolo Rossi
> Sent: Dienstag, 23. Mai 2000 14:49
> To: JetSpeed
> Subject: Re: Cocoon Engine throws Nullpointer
>
>
>
>
> Arno Schumacher wrote:
> >
> > Hello all
> >
> > i have just installed jetspeed for the first time and i got a
> problem with
> > the cocoon portlet, (see attached turbine log). I have already
> detected that
> > producer.getPath within the cocoon engine handle method returns
> null. What's
> > going wrong, any ideas?
> >
> > Arno
> >
>
> In JetspeedResources.properties you must specify the correct path to
> cocoon.properties
>
> cocoon.properties.file=/path/to/tomcat/src/config/cocoon.properties
>
> -lupo
>
>
> --
> --------------------------------------------------------------
> 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]