Thanks for the info. Im not sure that I need to fill out a Bugzilla report
since I have investigated further and have found:

2.0.1 - does not work
2.0.2 - does not work
2.0.4 - works

when the UNPACK_WAR variable is set to false. So I guess this is a warning
to people using older versions. Thanks for the help.
-todd

-----Original Message-----
From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 11:11 AM
To: [EMAIL PROTECTED]
Subject: RE: tomcat / cocoon problem


Todd Densmore wrote:
>
> I think you misunderstood me. When running the WAR file (in the webapps
> directory) with the tomcat server.xml variable UNPACK_WAR set to FALSE,
> tomcat is not supposed to unpack the war file at all. It does
> however create
> a work directory so that it can create temporary files, etc. However in
> order to do file IO, this means the servlet needs to use
> ServletContext.getResource() or ServletContext.getResourceAsStream().
> Resources cannot write to resources in a WAR (which I assume cocoon does).
> So my guess is that cocoon cannot run as a WAR under tomcat with
> UNPACK set to false.
>
Usually Cocoon does not write anything and in most cases it uses (through
some layers) the ServletContext to read resources.
And in some version of Cocoon (2.0 I think) it was working.

So actually, you encountered a bug! Can you provide more information (logs
etc) and perhaps enter it into bugzilla?

Thanks
Carsten

Carsten Ziegeler
Open Source Group, S&N AG



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to