[jboss-jira] [JBoss JIRA] (WFCORE-242) the deployment content is deleted if first undeploy and then deploy the same application using CLI batch
Brian Stansberry (JIRA)
issues at jboss.org
Fri Nov 14 14:28:29 EST 2014
[ https://issues.jboss.org/browse/WFCORE-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020263#comment-13020263 ]
Brian Stansberry commented on WFCORE-242:
-----------------------------------------
The way this works is after the HC executes the normal operation steps (you've logged some of that), a step that executes ServerOperationsResolverHandler is executed. It calls ServerOperationResolver, whose job is to translate the HC-level ops into a set of ops to invoke on the servers.* So the first place to look is there, to confirm it is producing the correct sequence of operations to execute on the servers. HostControllerExecutionSupport.Factory and HostControllerExecutionSupport.MultiStepOpExecutionSupport are good places to look, as they deal with composites.
* ServerOperationsResolverHandler adds the op ModelNodes as data on the response, making it available to whatever HC is controlling rollout of the overall op across the domain. In this case that would be the master HC. The controlling HC then tells the servers to execute. It's possible the problem is there, but it's better to start with ServerOperationsResolverHandler.
> the deployment content is deleted if first undeploy and then deploy the same application using CLI batch
> --------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-242
> URL: https://issues.jboss.org/browse/WFCORE-242
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI, Domain Management
> Reporter: Jay Kumar SenSharma
> Assignee: Emmanuel Hugonnet
>
> - If deploy and undeploy CLI commands executed in a batch mode then it causes missing deployment inside the "data/content" directory which leads to the following error:
> {code}
> [Host Controller] 10:33:42,387 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "example.war")]) - failure description: "WFLYDC0058: 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:33:42,390 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0034: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jboss-jira
mailing list