tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mighty Tornado <mighty.torn...@gmail.com>
Subject Re: Restarting Tomcat from Ant
Date Thu, 02 Apr 2009 20:12:01 GMT
I tried the following Chuck,

<target name="stop-tomcat">

     <exec dir="${TOMCAT}/bin/" executable="shutdown.sh" />

</target>
 but it tells me that the script cannot be found



On Thu, Apr 2, 2009 at 2:21 PM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:

> > From: Mighty Tornado [mailto:mighty.tornado@gmail.com]
> > Subject: Restarting Tomcat from Ant
> >
> > Is there a way to also restart the server
> > from Ant?
>
> Why don't you just use the startup and shutdown scripts that come with
> Tomcat?  If you want to call them from within an ant script, use the <exec>
> task.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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