tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Qin <>
Subject RE: problem with updating an web app through manager app (linux w ork, win no)
Date Thu, 05 Jun 2003 17:53:27 GMT
I assume that you put your webapp's context in server.xml, something like

<Context path="/myapp" docBase="myapp"
        debug="5" reloadable="true" crossContext="false">

<Logger className="org.apache.catalina.logger.FileLogger"
		prefix="myapp_log." suffix=".txt"

<Resource name="mail/Session" auth="Container" type="javax.mail.Session"/> 

<ResourceParams name="mail/Session">


Before I use Tomcat Manager to deploy myapp, I stored this context in an XML
file called myapp.xml, drop it off $CATALINA_HOME/webapps and copy my app
files to $CATALINA_HOME/webapps/myapp. With Tomcat Manager, I have to use
context.xml to let the manager extract it from myapp.war.

-----Original Message-----
From: Emerson Cargnin [] 
Sent: June 5, 2003 1:43 PM
To: Tomcat Users List
Subject: Re: problem with updating an web app through manager app (linux w
ork, win no)

what would be this context.xml?

The problem is that i'm at work, and i let my home computer on, with 
tomcat, but i'm having that problem, can't deploy the same app two times : )
If you could sday more about how the context work and an exemple could 
be helpful

thanks in advance

Phillip Qin wrote:

>Looks like some files are not removed. I had similar problem on Windows, my
>struts.jar under WEB-INF/lib never got removed. Linux is OK.
>Try put context.xml into META-INF.
>-----Original Message-----
>From: Emerson Cargnin [] 
>Sent: June 5, 2003 1:28 PM
>Subject: problem with updating an web app through manager app (linux work,
>win no)
>I'm having a strange problem, in linux, if I upload a war through 
>manager app, remove it , and upload again, it works fine, but in windows 
>me, with the same tomcat version (4.1.26), it uploads ok, remove ok, but 
>when i try to upload the same war as before, i t says :
>FAIL - War file "upLoad.war" already exists on server
>I get the same error on linux if I don't remove the context before 
>uploading again.
>Has anyone noted this behaviour on windows?

Emerson Cargnin
Analista de Sitemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181

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

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