tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Sickler <richard.sick...@avagotech.com>
Subject Re: Problem on Tomcat 6.0.20
Date Tue, 02 Feb 2010 21:14:33 GMT
On Mon, Feb 1, 2010 at 7:12 PM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:

> > From: Richard Sickler [mailto:richard.sickler@avagotech.com]
> > Subject: Problem on Tomcat 6.0.20
> >
> > when I copy the war, (WebApplication2.war) to
> > c:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps
> > on my Windows Server 2008 machine, and rename it to ROOT.war
>
> Unless Tomcat is stopped, this is not good practice.  You first make then
> webapp visible to Tomcat as WebApplication2, then make that disappear and
> materialize the ROOT webapp.  Better to do the renaming as part of the copy
> to avoid confusing the container or make sure Tomcat is not running.
>
> > Feb 1, 2010 6:33:14 PM org.apache.catalina.core.StandardContext
> > resourcesStart
> > SEVERE: Error starting static Resources
> > java.lang.IllegalArgumentException: Document base
> > C:\Program Files\Apache Software Foundation\
> > Tomcat 6.0\webapps\WebApplication2 does not exist
> > or is not a readable directory
>
> You may well have a WebApplication2.xml file in the conf/Catalina/[host]
> directory, left over from a previous deployment attempt.  Check for that and
> delete it.
>
>
You were correct.  I removed a file and a directory named WebApplication2,
and that cleared up that problem.  On to the next undocumented feature!
Thanks.


>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message