You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Matteo Turra <mt...@kion.it> on 2005/06/29 18:33:29 UTC

How to upload and Deploy from script?

I would like to automate the deploy process.
There is a method to perform the upload via script like via browser
tomcat manager does?

I read tomcat manager docs and seems that command issue via http in form
of 
http://{host}:{port}/manager/deploy?{parameters}

the war parameters is a path of a war file located in the computer where
the tomcat is running.

How can I write a script (i.e.: wget
http://{host}:{port}/manager/deploy?{parameters}) to upload the war from
remote computer?

Matteo.

_________________________________________________________

Matteo TURRA                       mail: m.turra@kion.it
Analisi & sviluppo WEB             tel: +39 051 61.11.430

KION Srl                           web: www.kion.it            
Via Cristoni, 86                   tel: +39 051 61.11.411
40033 Casalecchio di Reno (BO)     fax: +39 051 57.04.23
ITALIA
_________________________________________________________




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


Re: How to upload and Deploy from script?

Posted by Tim Diggins <su...@red56.co.uk>.
check out ant (another apache project) and the tomcat tasks for ant 
("catalina-ant").

lots of stuff in google, in jakarta.apache.org and in archives of this 
forum on those!

-- Tim



Matteo Turra wrote:
> I would like to automate the deploy process.
> There is a method to perform the upload via script like via browser
> tomcat manager does?
> 
> I read tomcat manager docs and seems that command issue via http in form
> of 
> http://{host}:{port}/manager/deploy?{parameters}
> 
> the war parameters is a path of a war file located in the computer where
> the tomcat is running.
> 
> How can I write a script (i.e.: wget
> http://{host}:{port}/manager/deploy?{parameters}) to upload the war from
> remote computer?
> 
> Matteo.
> 
> _________________________________________________________
> 
> Matteo TURRA                       mail: m.turra@kion.it
> Analisi & sviluppo WEB             tel: +39 051 61.11.430
> 
> KION Srl                           web: www.kion.it            
> Via Cristoni, 86                   tel: +39 051 61.11.411
> 40033 Casalecchio di Reno (BO)     fax: +39 051 57.04.23
> ITALIA
> _________________________________________________________
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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