ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaushal Shriyan <kaushalshri...@gmail.com>
Subject Re: Tomcat Client Deployer
Date Thu, 04 Mar 2010 06:16:42 GMT
On Wed, Mar 3, 2010 at 9:18 PM, Kaushal Shriyan
<kaushalshriyan@gmail.com> wrote:
> On Wed, Mar 3, 2010 at 7:44 PM, Antoine Levy Lambert <antoine@gmx.de> wrote:
>> Hello Kaushal,
>>
>> If you have a specific problem concerning tomcat deployments, even if you do
>> these deployments with ant, you might get more answers on the tomcat users
>> list.
>>
>> I guess that the URL in your deployer.properties should point to a server
>> that exists really, not
>>
>> url=http://example:8080/manager
>>
>>
>>
>>
>> Regards,
>>
>> Antoine
>>
>>
>> Kaushal Shriyan wrote:
>>>
>>> Hi,
>>>
>>> I am referring to
>>> http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html for
>>> deploying the same war on multiple tomcat server.
>>> I have downloaded apache-tomcat-5.5.27-deployer.tar.gz and extracted
>>> it. I have added deployer.properties under
>>> /usr/local/apache-tomcat-5.5.27-deployer
>>>
>>> The deployer.properties are as below :-
>>>
>>> deployer.properties
>>>
>>> ################################################
>>> build=/usr/local/test/build
>>> webapp=config
>>> path=/config
>>> url=http://example:8080/manager
>>> username=tomcat
>>> password=tomcat
>>> ################################################
>>>
>>> ant -Durl=http:/some.other.host:8080/manager
>>>
>>> Am i missing any thing ?
>>>
>>> Please suggest/guide.
>>>
>>> Thanks and Regards,
>>>
>>> Kaushal
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>
> Hi,
>
> Can i restart tomcat server using Ant ?
>
> Please suggest/guide.
>
> Thanks and Regards.
>
> Kaushal
>

Hi,

I have added the below entries in build.xml file. I need to restart
tomcat on the remote server.

<!-- stop Tomcat target -->
<target name="stop-tomcat">
     <exec dir="/usr/local/apache-tomcat-5.5.27/bin/"
executable="shutdown.sh" />
</target>
<!-- start Tomcat target -->
<target name="start-tomcat">
     <exec dir="/usr/local/apache-tomcat-5.5.27/bin/" executable="startup.sh" />
</target>

I am not able to restart tomcat on the remote server. Please guide.

Thanks,

Kaushal

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message