Why the deployment content of the application is deleted if it is undeployed and then deployed using CLI batch in EAP 6.3.x ?

Solution Verified - Updated -

Issue

  • undeploy and then deploy CLI commands executed in a batch mode cause missing deployment inside the data/content directory in domain mode, which leads to the following error during next reboot of the domain:
[Host Controller] 10:45:50,600 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("add") failed - address: ([("deployment" => "example.war")]) - failure description: "JBAS010876: No deployment content with hash d85f1e3106bc8a49838a0dccae9e80819c25e02c is available in the deployment content repository for deployment 'example.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."
[Host Controller] 10:45:50,603 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010933: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.3.0
    • 6.3.1
    • 6.3.2

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