tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Best way to deploy an application?
Date Wed, 18 Jun 2003 12:57:18 GMT

I think it's enlightening to see two tomcat developers using different
methods for the same task: I do almost the opposite of what Tim does ;)

I like to keep the .war files packed, my server set to
unpackWARs="false", autoDeploy="false", and I use an ant task
(self-written, not from catalina-ant.jar, but very close) that assembles
the .war file and copies it into the webapps directory.  I restart the
server manually.

All the approaches are fine I think.  It's nice to have choices.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Tim Funk []
>Sent: Wednesday, June 18, 2003 7:02 AM
>To: Tomcat Users List
>Subject: Re: Best way to deploy an application?
>Topic most likely to start a flame war.
>I like to do things manually. In 4.0 - I always edit server.xml and
keep my
>webapps out of the webapps dir. By doing a manual restart - I can
>when my JVM crashes (or other stuff occurs) - I can guarantee it will
>In 4.1 - I plop an XML file in the webapps dir (with the context
>my webapps still reside somewhere else.
>Riaan Oberholzer wrote:
>> As far as I can see, you can deploy a .war in three
>> ways:
>> 1) Dump it in the webapps dir
>> 2) Deploy it with the console
>> 3) Use the ant tasks in the catalina-ant.jar
>> I use #3, particularly in development it is the
>> fastest.
>> Which one is recommended and what are the pro's & cons
>> of them? Why should/shouldn't I use one or more of
>> these methods?
>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