You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jeff Larsen <la...@qec.com> on 2002/03/21 17:02:43 UTC

Tomcat 4.0.3. is not unpacking my WAR file

Tomcat 4.0.3 is NOT unpacking my WAR file and my application
is not getting loaded. Is this a bug or is there a configuration
issue that I am missing.

If I run without unpacking the war (i.e., docBase="online.war"), the 
application runs just fine, but then I can't have Apache httpd serve
my static html and images.

Here's the Host section of my server.xml

<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
  <Valve className="org.apache.catalina.valves.AccessLogValve"
         directory="logs"  prefix="access." suffix=".log"
         pattern="common" timestamp="true"/>

  <Logger className="org.apache.catalina.logger.FileLogger"
          directory="logs"  prefix="localhost." suffix=".log"
          timestamp="false"/>

  <Context path="/online" docBase="online" debug="0"
           reloadable="false" crossContext="false" useNaming="false">
    <Logger className="org.apache.catalina.logger.FileLogger"
            prefix="online." suffix=".log" timestamp="true"/>
  </Context>
</Host>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Tomcat 4.0.3. is not unpacking my WAR file

Posted by Jeff Larsen <la...@qec.com>.
Let me clarify: Tomcat NEVER unpacks the war, not when it's restarted,
and even if the directory is not there. On restart, Tomcat complains
that it can't start the application, because the directory does not
exists.

----- Original Message ----- 
From: "Daniel Bruce Lynes" <dl...@shaw.ca>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Thursday, March 21, 2002 10:09 AM
Subject: Re: Tomcat 4.0.3. is not unpacking my WAR file


> On March 21, 2002 08:02 am, you wrote:
> 
> > Tomcat 4.0.3 is NOT unpacking my WAR file and my application
> > is not getting loaded. Is this a bug or is there a configuration
> > issue that I am missing.
> 
> It'll only do this if the server is restarted.  Tomcat doesn't support 
> on-the-fly deploy yet.   I've also noticed that if the directory already 
> exists for the web application in question, that it never extracts the war 
> file.  This seems to be the behaviour on all of the Tomcat versions I've 
> tried recently (3.2.1,3.2.3,3.3rc1,4.0.1).
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Tomcat 4.0.3. is not unpacking my WAR file

Posted by Daniel Bruce Lynes <dl...@shaw.ca>.
On March 21, 2002 08:02 am, you wrote:

> Tomcat 4.0.3 is NOT unpacking my WAR file and my application
> is not getting loaded. Is this a bug or is there a configuration
> issue that I am missing.

It'll only do this if the server is restarted.  Tomcat doesn't support 
on-the-fly deploy yet.   I've also noticed that if the directory already 
exists for the web application in question, that it never extracts the war 
file.  This seems to be the behaviour on all of the Tomcat versions I've 
tried recently (3.2.1,3.2.3,3.3rc1,4.0.1).

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>