tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Question about webapp deployment or re-deployment
Date Wed, 04 Feb 2004 13:47:23 GMT

You can use the manager's webapp HTML interface without ant.  Connect to
http://yourhost:yourport/manager/deploy?path=/foo with an HTTP PUT
request containing your WAR.  See

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>Sent: Tuesday, February 03, 2004 7:14 PM
>Subject: Question about webapp deployment or re-deployment
>Hi!  I've got Tomat 4.1 .29 and Tomcat 5.0.18 up and running on a
>2000 server to test a webapp we're developing as well as learn some of
>environmental "issues" that might impact our app when we deploy it in
>production environments.
>Currently, we use ant to build a war file that is then used to install
>webapp via the Tomcat Manager web interface.    We upload the war
>with the Manager and it deploys the webapp.    Then I stop the webapp
>update web.xml to configure some data sources and some servlet mappings
>restart Tomcat and the webapp.  I'm working with Tomcat 4.1.29 when
>this.   That works fine and my webapp runs just fine.   Now, when I
>changes to the webapp that I need to get installed, I'm not sure how to
>"upgrade" (effectively) the running webapp.   I've been removing it and
>re-deploying it but that results in the web.xml changes being lost.
>I can't guarantee ant will be installed on the target server, so I'm
>to develop an installation and upgrade process that doesn't involve
>When we install our webapp in a production environment, we'll most
>have a pre-built war on a CD that we install from.
>I've been reading a TON of great info on re-deploying webapps but they
>seem to involve running ant to handle the re-deployment.    Will I be
>"forced" to use ant or is there another way to 'upgrade' or "re-deploy"
>existing running webapp?
>I will be working on procedures for Tomcat 4.1.29 and Tomcat 5.0.18 as
>think they handle re-deployment differently, but I'm not sure.
>Thanks in advance for your time and help.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

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

View raw message