how to deploy using war file on tomcat 5

2005-01-07 Thread Sandeep Kang

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how to deploy using war file on tomcat 5

2005-01-07 Thread Mike Fowler
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: how to deploy using war file on tomcat 5

2005-01-07 Thread Paul Taylor
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: how to deploy using war file on tomcat 5

2005-01-07 Thread Ben Souther
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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]