cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Densmore <>
Subject RE: tomcat / cocoon problem
Date Thu, 16 Jan 2003 16:07:03 GMT
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.

-----Original Message-----
From: Thorsten Scherler []
Sent: Thursday, January 16, 2003 4:17 AM
Subject: Re: tomcat / cocoon problem

Hello Todd,

I am not an expert:

Todd Densmore wrote:
> hello all,
> I was just wondering if any of you have tried running the cocoon.war under
> tomcat with the UNPACK WAR option set to FALSE? I am getting several
> trying to compile the sitemap, although all the needed files have been
> extracted to the ~work/ directory. 

Should be the webapp directory!

We need to be able to run our war without
> unpacking it. Is there something I am missing?

the war is something like a "zip-File". You need to unpack it to the 
pathto\webapps. Just put the cocoon.war into that dir.

...or did I missunderstood you?

> -todd
> 'A computer lets you make more mistakes faster than any invention in human
> history - with the possible exceptions of handguns and tequila' - Mitch
> Ratliffe
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, email:

To unsubscribe, e-mail:
For additional commands, email:

To unsubscribe, e-mail:
For additional commands, email:

View raw message