You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Keuck, Carl Jan" <ke...@uni-trier.de> on 2001/06/26 14:53:37 UTC

Unsafe path

Hi out there,

I'm trying to run Cocoon 1.8.2 on Apache 1.3.12 an Tomcat 3.2.2 on 
WinNT4.0. Installation looks fine to me, but somehow it's not working.

Tomcat tells me:
2001-06-26 01:52:42 - Ctx( /cocoon ): Unsafe path 
D:\Programme\Apache_Group\jakarta-tomcat-3.2.2\webapps\cocoon 
/Web-inf/cocoon.properties

What can I do?

Charly


Re: Unsafe path

Posted by "Brett M. Bergquist" <bb...@snet.net>.
I had something similar when I ported from Tomcat 3.1 to Tomcat 3.2.2.  It
turned out I was calling a getResourceAsStream or something similar with a
trailing space at the end of the path that I was passing.  For example I was
calling something like 'getResourceAsStream("/foo/bar ")' as apposed to
'getResourceAsStream("/foo/bar").  Take a look to make sure that your path
to "cocoon.properties" does not contain a trailing space.

----- Original Message -----
From: Keuck, Carl Jan <ke...@uni-trier.de>
To: <to...@jakarta.apache.org>
Sent: Tuesday, June 26, 2001 8:53 AM
Subject: Unsafe path


> Hi out there,
>
> I'm trying to run Cocoon 1.8.2 on Apache 1.3.12 an Tomcat 3.2.2 on
> WinNT4.0. Installation looks fine to me, but somehow it's not working.
>
> Tomcat tells me:
> 2001-06-26 01:52:42 - Ctx( /cocoon ): Unsafe path
> D:\Programme\Apache_Group\jakarta-tomcat-3.2.2\webapps\cocoon
> /Web-inf/cocoon.properties
>
> What can I do?
>
> Charly
>