发生cannot be deployed from both an archive RESIN_HOME\webapps\XXX.war and cluster deployment. 的错误。

 
【现象】
启动Resin时发生以下错误,应用程序初始化失败。

 cannot be deployed from both an archive RESIN_HOME\webapps\XXX.war and cluster deployment.........


【原因】
此错误是指在已通过命令部署WAR文件的环境中,尝试将WAR文件直接放置在<%RESIN_HOME%>/webapps文件夹中进行部署时输出的错误。


【处理方法】
要解决此问题,请卸载通过命令部署的WAR文件。
请参照以下URL实施取消部署。

【通过命令卸载】
    https://accel-archives.intra-mart.jp/2018-spring/document/iap/public/setup/iap_setup_guide/texts/uninstallation/index.html#resin-war-undeploy

【参考信息】
有2种部署WAR文件的方法。

・将WAR文件直接放置在<%RESIN_HOME%>/webapps文件夹中
・通过命令部署

目前,我们推荐直接放置在<%RESIN_HOME%>/webapps文件夹的部署方法。

https://document.intra-mart.jp/library/iap/public/setup/iap_setup_guide/texts/deploy/index.html#resin-war-deploy-directory

-- 适用对象 --------------------------------------------------------------------
iAP/Accel Platform/所有更新版本
 --------------------------------------------------------------------------------

FAQID:1169
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助
由 Zendesk 提供技术支持