Translated message

A translation of this page exists in English.

JBoss EAP 6.x で deployment-overlay link を使用しようとすると、"JBAS014803: Duplicate resource ..." と表示される

Solution In Progress - Updated -

Issue

  • 以下の deployment-overlay コマンドを実行すると、"JBAS014803: Duplicate resource" と表示されます。

スタンドアロンモード:

[standalone@localhost:9999 /] deployment-overlay add --name=help2 --content=/help.html=/tmp/help2.html --deployments=example.war --redeploy-affected
[standalone@localhost:9999 /] deployment-overlay link --name=help2 --deployments=example.war --redeploy-affected
{"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "JBAS014803: Duplicate resource [
    ("deployment-overlay" => "help2"),
    ("deployment" => "example.war")
]"}}

ドメインモード:

[domain@localhost:9999 /] deployment-overlay add --name=help2 --content=/help.html=/tmp/help2.html --deployments=example.war --redeploy-affected --server-groups=main-server-group           
[domain@localhost:9999 /] deployment-overlay link --name=help2 --deployments=example.war --redeploy-affected --server-groups=main-server-group
{"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "JBAS014803: Duplicate resource [
    ("server-group" => "main-server-group"),
    ("deployment-overlay" => "help2"),
    ("deployment" => "example.war")
]"}}

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 6.3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content