使用Windows 2003服务器远程部署Tomcat(WAR)

时间:2017-07-06 13:03:12

标签: java tomcat curl windows-server-2003

我想在带有POST请求的tomcat 8上从我的本地系统(没有cURL的Windows server 2003)上传.war,我已经看到这里有一些提示:{{3} }

我试过这样的事情:

wget --post-file="C:/My/war/file/on/Local/system" 
"http://<username>:<password>@<tomcatserver>:<port>/manager/text/deploy?
path=/my/path/to/save&update=true"

但我最终得到了这个:

Connecting to <tomcatserver>:<port>... connected.
Retrying.

并在循环中重试...

这有什么不对?

(另外,我无法找到Windows 2003服务器的cURL版本,因此我使用wget。)

0 个答案:

没有答案
相关问题