“cannot be deployed from both an archive %RESIN_HOME%\webapps\XXX.war and cluster deployment” error occurs.
[Phenomenon]
The following error occurs when Resin starts, and application initialization fails.
cannot be deployed from both an archive %RESIN_HOME%\webapps\XXX.war and cluster deployment.........
[Cause]
This error is output when you try to deploy the WAR file by placing it directly in the <%RESIN_HOME%>/webapps folder for the environment where the WAR file has been deployed with the command.
[Remedy]
To solve this issue, please undeploy the WAR file that you deployed with the command.
Please refer to the following URL and perform undeployment.
[Undeploy with command]
https://accel-archives.intra-mart.jp/2018-spring/document/iap/public/setup/iap_setup_guide/texts/uninstallation/index.html#resin-war-undeploy
[Reference information]
There are two ways to deploy the WAR file.
・ Place the WAR file directly in the <%RESIN_HOME%>/webapps folder
・ Deploy with command
Currently, we recommend deploying directly to the <%RESIN_HOME%>/webapps folder.
https://document.intra-mart.jp/library/iap/public/setup/iap_setup_guide/texts/deploy/index.html#resin-war-deploy-directory
-- Target ----------------------------------------------------------------------
iAP/Accel Platform/All Updates
--------------------------------------------------------------------------------
FAQID:1169