JBoss Deployment war error on startup - No content hash available

In this post, we are going to discuss the deployment problem that prevents JBoss Server to start properly.

Error starting Java JBoss server (in domain mode)

The JBoss Server logs, in this case, looks like below:

10:16:57,337 INFO [org.jboss.modules] JBoss Modules version 1.1.3.GA-redhat-1
10:16:57,498 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA-redhat-2

10:16:57,686 INFO [org.jboss.as] JBAS015899: JBoss EAP 6.0.1.GA
(AS 7.1.3.Final-redhat-4) starting

10:16:58,310 INFO [org.jboss.as.server.deployment.scanner] JBAS015014: Re-attempting failed deployment abc.warploy

10:16:58,340 INFO [org.jboss.as.server.deployment.scanner] JBAS015003: Found abc.war in deployment directory. To trigger deployment create a file called abc.war.dodeploy

10:16:58,348 ERROR [org.jboss.as.controller.management-operation] JBAS014613: Operation ("add") failed - address: ([("deployment" => "abc-ABC.0.0.21.war")]) - failure description: "JBAS018717: No deployment content with hash 28c2ce34057a6bd5ebf2c28f9d114814faa66b8a is available in the deployment content repository for deployment 'abc-ABC.0.0.21.war'.

This is a fatal boot error. To correct the problem, either restart with the --admin-only switch set and use the CLI to install the missing content or remove it from the configuration, or remove the deployment from the xml configuraiton file and restart."

10:16:58,351 ERROR [org.jboss.as.server.deployment.scanner] JBAS014654: Composite operation was rolled back

10:16:58,351 FATAL [org.jboss.as.server] JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

10:16:58,358 INFO [org.jboss.as] JBAS015950: JBoss EAP 6.0.1.GA (AS 7.1.3.Final-redhat-4) stopped in 3ms

This error also occurs when we delete directory standalone\data.. and then try to redeploy the same application war. The JBoss server unable to delete entries defined in standalone.xml with the same hash for the deployed application.

The standalone.xml looks like below:

<deployments>
    <deployment name="abc-ABC.0.0.21.war" runtime-name="abc-ABC.0.0.21.war">
         <content sha1="28c2ce34057a6bd5ebf2c28f9d114814faa66b8a"/>
    </deployment>
</deployments>

Removing the entries manually for the application having defined hash solved this problem and JBoss server will start successfully without error.

Comments (18)

Loading... Logging you in...
  • Logged in as
aalia lyon's avatar

aalia lyon · 565 weeks ago

Wow really Awesome blog its so informative for us
Thank you
Aalia lyon
You are a genius, thanks.
Thank you Victor. I am glad this tutorial help you.
sanjay joshi's avatar

sanjay joshi · 536 weeks ago

I have read the post it is really very interesting and informative.
karburator pe 28's avatar

karburator pe 28 · 532 weeks ago

I am glad this tutorial help you. really Awesome blog its so informative for us
This error also occurs when we delete directory standalone\data.. and then try to redeploy the same application war.
This is a Great Article ever i see... thank's for sharing :D
jayakumar's avatar

jayakumar · 511 weeks ago

where can i find standalone.xml in jbos 4.2.2
Khagesh Darji's avatar

Khagesh Darji · 507 weeks ago

Can you suggest which one server is best either JBoss or Apache Tomcat ?
Thaks for the sharing of useful information.
Awesome, worked like charm :)
Srinath V's avatar

Srinath V · 462 weeks ago

Thanks , you saved lot of time :-)
Thanks ...
thanks it does help
intressting and informative post thanks for sharing
This has been helpful, thanks.
Sirikumara's avatar

Sirikumara · 438 weeks ago

Thanks, It helped me.. :)
thanks a lot!!!! Genius!!
i don't have this in standalone.xml :

<deployments>
<deployment name="abc-ABC.0.0.21.war" runtime-name="abc-ABC.0.0.21.war">
<content sha1="28c2ce34057a6bd5ebf2c28f9d114814faa66b8a"/>
</deployment>
</deployments>

Post a new comment

Comments by