You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sandeep Kang <sa...@in.effectsoft.com> on 2005/01/07 09:50:11 UTC
how to deploy using war file on tomcat 5
Hi all,
I have been trying hard to deploy my webapp on Tomcat-5.0.27 using a WAR
file. I have searched through the mail archives but havent been able to
find a well defined proceudre for deploying webapps using WAR files.
Plz can someone guide me on how to do that using Ant build.xml. Kindly
give detailed step by step procedure.
Thanks in advance.
Bye.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: how to deploy using war file on tomcat 5
Posted by Ben Souther <bs...@fwdco.com>.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html
Gives very detailed instructions, including an ANT script that wars up
and installs the sample app built in the tutorial.
On Fri, 2005-01-07 at 03:50, Sandeep Kang wrote:
> Hi all,
>
> I have been trying hard to deploy my webapp on Tomcat-5.0.27 using a WAR
> file. I have searched through the mail archives but havent been able to
> find a well defined proceudre for deploying webapps using WAR files.
>
> Plz can someone guide me on how to do that using Ant build.xml. Kindly
> give detailed step by step procedure.
>
> Thanks in advance.
>
> Bye.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: how to deploy using war file on tomcat 5
Posted by Paul Taylor <pa...@fastmail.fm>.
For this to work if you havent already you must have also configured
your Tomcat Manager Application with a valid user and password if you
havent already.Acess to documentation here
http://localhost:8080/manager/manager-howto.html
Mike Fowler wrote:
> Sandeep -
>
> The ant deploy task you need is found in catalina-ant.jar in
> $TOMCAT_HOME/server/lib.
>
> Then in your build file a target like this should do:
>
> <target name="deploy">
> <deploy url="127.0.0.1:8080"
> username="${manager_username}"
> password="${manager_password}"
> path="${webapp_path}"
> war="${war_file}"
> update="true"/>
> </target>
>
> Hope this helps!
>
> -Mike Fowler
> "I could be a genius if I just put my mind to it, and I,
> I could do anything, if only I could get 'round to it"
>
> Sandeep Kang wrote:
>
>> Hi all,
>>
>> I have been trying hard to deploy my webapp on Tomcat-5.0.27 using a WAR
>> file. I have searched through the mail archives but havent been able to
>> find a well defined proceudre for deploying webapps using WAR files.
>>
>> Plz can someone guide me on how to do that using Ant build.xml. Kindly
>> give detailed step by step procedure.
>>
>> Thanks in advance.
>>
>> Bye.
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: how to deploy using war file on tomcat 5
Posted by Mike Fowler <to...@mlfowler.com>.
Sandeep -
The ant deploy task you need is found in catalina-ant.jar in
$TOMCAT_HOME/server/lib.
Then in your build file a target like this should do:
<target name="deploy">
<deploy url="127.0.0.1:8080"
username="${manager_username}"
password="${manager_password}"
path="${webapp_path}"
war="${war_file}"
update="true"/>
</target>
Hope this helps!
-Mike Fowler
"I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round to it"
Sandeep Kang wrote:
> Hi all,
>
> I have been trying hard to deploy my webapp on Tomcat-5.0.27 using a WAR
> file. I have searched through the mail archives but havent been able to
> find a well defined proceudre for deploying webapps using WAR files.
>
> Plz can someone guide me on how to do that using Ant build.xml. Kindly
> give detailed step by step procedure.
>
> Thanks in advance.
>
> Bye.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org