tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Dockery" <>
Subject Re: Ant - Tomcat deploy question
Date Tue, 11 Feb 2003 16:21:40 GMT
Follow the development environment recommendation set out in the Tomcat
application developers guide, which you can find at

After you "install" your application into Tomcat, you can "reload" it on
demand without restarting Tomcat.  I had experienced problems with stale
classes staying in memory in the past, but I have not had any problems since
using this new approach.

Quick tip:  If you use the sample build.xml file provided in the Tomcat
AppDev manual, add the following lines to the section where the classpath is

    <fileset dir="${build.home}/WEB-INF/lib">
      <include name="*.jar"/>

...This will automatically include any JAR files that you have placed in
${web.home}/WEB-INF/lib (and which are subsequently copied to
${build.home}/WEB-INF/lib) into the classpath for you.

Sean Dockery
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants

----- Original Message -----
From: "John Ruffin" <>
To: "'Tomcat Users List'" <>
Sent: Monday, February 10, 2003 15:21
Subject: Ant - Tomcat deploy question

> Hi folks,
> I'm running TC 4.1.18, ANT 1.5, J2SDK1.4.0_01 on a W2K server - Tomcat is
> running as a service.
> When ANT places my "appName.war" file in the Catalina_Home/webapps
> it doesn't deploy (i.e. unpack).
> I stopped and started the Tomcat service, that didn't deploy appName.war.
> However, if I stop the service - delete the webapps/appName folder -
> the ANT deploy-app command again - this works.
> Why?  What am I missing - better yet what do I need to read?  I've read
> archive threads - do I really need to restart TC  or appName using Manager
> after deployment?
> Please enlighten the newbie...
> ************************************************************
> The information in this email is confidential and may be
> legally privileged. It is intended solely for the addressee,
> and access by anyone else is unauthorized.
> If you are not the intended recipient, any disclosure,
> copying, distribution or any action taken or omitted to be
> taken in reliance on it, is prohibited and may be unlawful.
> If you believe that you have received this email in error,
> please advise us by calling (901) 385 3688, or emailing
>, and then delete this message
> and all copies and backups thereof. Thank you.
> ************************************************************
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message