简体   繁体   English

如何在tomcat 8中本地停止/取消部署特定的webapp?

[英]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.

相关问题 如何在Tomcat中取消部署Java Web应用程序但保留IIS网站配置? - How to undeploy a java webapp in Tomcat but keep IIS website configuration? 在 tomcat manager 中,如何限制用户只能部署/取消部署特定应用程序? - In tomcat manager, how can I restrict users to be able to deploy/undeploy just a specific application? Tomcat特定的Webapp速度下降 - Tomcat specific webapp slowdown Tomcat无法停止webapp中的线程 - Tomcat fails to stop thread in webapp 由于特定的Spring JMS配置,无法从Tomcat取消部署 - Cannot undeploy from Tomcat due to specific Spring JMS configuration 防止tomcat 7在我的webapp的每次覆盖/取消部署时删除我的自定义上下文文件 - prevent tomcat 7 from deleting my custom context file on every single overwrite/undeploy of my webapp Tomcat 6中取消部署任务的问题 - Problem with Undeploy Task in Tomcat 6 如何在不删除/取消部署旧应用程序的情况下在tomcat中重新部署war文件? - How to redeploy war file in tomcat without deleting/undeploy the old application? 如何在 Linux 中使用 IntelliJ 社区(免费)版本在本地调试 Tomcat 7.x/8.x webapp? - How to debug a Tomcat 7.x/8.x webapp locally with IntelliJ Community (free) version in Linux? 从 Servlet 关闭/取消部署 tomcat - shutdown / undeploy tomcat from Servlet
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM