tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <>
Subject Re: Ant task for reloading webapps
Date Mon, 01 Sep 2003 22:21:44 GMT
To get Tomcat to redeploy your war file, you need to set the redeploy="true"
attribute on the AutoDeploy element in server.xml.

In theory, you could get an Ant task to re-load the context (assuming that
you've left the 'admin' webapp installed).  It would need to send a request
to /admin/contextAdmin/contextRemove.jsp?removeContextName=context-name
followed by a request to

The 3.3-nightly also has a contextReload.jsp which combines these.  Bug
#21456 has a patch to get it working with 3.3.1(a).

<> wrote in message
I don't know if my last mail got throught so I'll resend.

I'm using Tomcat 3.3 and cannot get the redeploying to work (ie I copy the
war over an existing one and Tomcat should load the new war). I cannot get
it to work. Everywhere on the net seems to say it's broken so I'm willing to
now accept that now!

My question is this: I have read how Tomcat 4 has an ant task to reload the
war file, which works, but is this possible with Tomcat 3.3?

Ian Colledge

Visit our website at

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

View raw message