简体   繁体   English

Tomcat 7 管理器取消部署按钮已禁用

[英]Tomcat 7 manager Undeploy button disabled

Tomcat 7 is installed on CentOS. Tomcat 7 安装在 CentOS 上。 Tomcat has two copies of application X running on it: two different hosts, two manager applications (each copied to webapps/Xn/manager). Tomcat 上运行着应用程序 X 的两个副本:两个不同的主机,两个管理器应用程序(每个都复制到 webapps/Xn/manager)。 Applications work fine, Tomcat manager UI works fine except that Undeploy button is inactive/disabled.应用程序工作正常,Tomcat 管理器 UI 工作正常,只是Undeploy按钮处于非活动/禁用状态。 No errors in catalina.out catalina.out没有错误

From https://github.com/psi-probe/psi-probe/issues/374#issuecomment-81738169来自https://github.com/psi-probe/psi-probe/issues/374#issuecomment-81738169

I think this bug can be closed.我认为这个错误可以关闭。 I just received this from a tomcat maintainer:我刚刚从一个 tomcat 维护者那里收到了这个:

"By design, if a Context is defined in server.xml then that context is excluded from the auto deployment process so neither an xml file in the config base nor an XML file in the WAR (or a directory) is considered." “按照设计,如果在 server.xml 中定义了上下文,那么该上下文将从自动部署过程中排除,因此既不会考虑配置库中的 xml 文件,也不会考虑 WAR(或目录)中的 XML 文件。”

So, from this, I am guessing that apps cant be autodeployed.因此,由此,我猜测应用程序无法自动部署。

Also when attempting to undeploy app via URL同样在尝试通过 URL 取消部署应用程序时

FAIL - Context /my-app is defined in server.xml and may not be undeployed

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM