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


【参考情報】
WAR ファイルのデプロイ方法は2種類あります。

・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人がこの記事が役に立ったと言っています
Powered by Zendesk