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

Tomcat 7 manager Undeploy button disabled

Tomcat 7安装在CentOS上。 Tomcat 上有应用程序 X 运行 的两个副本:两个不同的主机,两个管理器应用程序(每个都复制到 webapps/Xn/manager)。应用程序工作正常,Tomcat 管理器 UI 工作正常,除了 Undeploy 按钮是 inactive/disabled。 catalina.out

中没有错误

来自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:

"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."

So, from this, I am guessing that apps cant be autodeployed.

同样在尝试通过 URL

取消部署应用程序时
FAIL - Context /my-app is defined in server.xml and may not be undeployed