[英]How to stop / undeploy a specific webapp locally in tomcat 8?
I can undeploy a specific app using command line or browser, but it requires credentials. 我可以使用命令行或浏览器取消部署特定的应用程序,但是它需要凭据。
I have not set any credentials and also I am using same machine where tomcat webapp deployed (just paste war file to tomcat webapps), So I think it should not requires credentials. 我没有设置任何凭据,而且我使用的是部署了tomcat webapp的同一台计算机(只需将war文件粘贴到tomcat webapps),所以我认为它不需要凭据。
I don't want to undelploy remotely, If we do it then its obvious to ask credentials. 我不想远程取消部署,如果我们这样做了,那么询问凭证就很明显了。
So is there any way to sotp / undeploy a webapp? 那么,有什么方法可以停止/取消部署Web应用程序?
I am using windows 7 and Tomcat 8. 我正在使用Windows 7和Tomcat 8。
Not sure if I understand your question correctly, but why don't you just delete the war file from webapps? 不知道我是否正确理解了您的问题,但是为什么不从Web应用程序中删除War文件? The webapp will then be undeployed.
然后将取消部署该Web应用程序。
Alternatively, you could use the Tomcat Manager. 另外,您可以使用Tomcat管理器。 Tomcat Manager How-To
Tomcat Manager操作方法
如果您使用war文件创建了应用程序,请删除war文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.