Why the deployment content of the application is deleted if it is undeployed and then deployed using CLI batch in EAP 6.3.x ?
Issue
undeployand thendeployCLI commands executed in a batch mode cause missing deployment inside thedata/contentdirectory 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
