Jboss Domain deploy reports error: no deployment content with hash XXXX is avaiable in the deployment content repository
Asked Answered
R

4

5

I have set up a Jboss domain environment, which consists of two Jboss server, where one is a master and another is a slave. But when I try to deploy a simple java web demo into the server group , I got the following error in the salve's log :

 [Server:server-one] 16:20:37,024 ERROR [org.jboss.as.controller] (pool-1-thread-2) Operation ("add") failed - address: ([("deployment" => "jspdemo.war")]) - failure description: "No deployment content with hash eeeabd6c922da77e90db743602e6d24ba5592ce2 is available in the deployment content repository."

Here is the screenshot of console management: enter image description here

Rod answered 17/2, 2012 at 8:25 Comment(0)
K
14

Go to your standalone.xml .

Find:

<deployments>
        <deployment name="xxx.war" runtime-name="xxx.war">
            <content sha1="xxxxxxx"/>
        </deployment>
</deployments>

Just remove it and try to restart a server.

Korwun answered 8/6, 2016 at 9:33 Comment(0)
B
4

Search for jspdemo.war in your standalone.xml and delete the entire deployments tag. May be nice to also delete the content related to jspdemo.war in the deployments folder.

Belie answered 4/10, 2013 at 14:16 Comment(0)
S
0

Were you updating from CR1 and maybe are using some old configuration? The deployment location changed in-between. Was: jboss-as-7.1.0.CR1b\domain\content in CR1 and is jboss-as-7.1.0.Final\domain\data\content in final.

Selfdiscipline answered 22/2, 2012 at 10:20 Comment(0)
K
0

In Domain mode the war also needs to be removed from servergroup.

https://access.redhat.com/solutions/356893 (What is use of $JBOSS_HOME/domain/data directory in JBoss EAP 6 ?)

Katricekatrina answered 19/10, 2016 at 14:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.