tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <de...@oma.be>
Subject Re: Manager deployment for ROOT.war not working properly.
Date Wed, 03 Jan 2007 08:31:51 GMT
En l'instant précis du 01/03/07 01:21, Keith Bottner s'exprimait dans
toute sa noblesse:
>  
> Now this works perfectly if I do it from http://10.0.0.2/manager/html and
> use the Web interface to upload the ROOT.war. It deploys to / with no
> problems. But if I use the non HTML version it will not deploy to /
> properly.
>   
You can use curl to simulate the submission of manager upload form. See
curl -D (--form) for details on how to POST multipart form (mandatory
for uploads), and go to manager html source file to see what are form datas.

untested suggestion:
curl -u manager:passsword -F "file=@/home/manager/ROOT.war"
http://10.0.0.2/manager/html/upload

>  
> Thanks in advance for your help,
>  
> Keith
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message