[jboss-jira] [JBoss JIRA] (WFCORE-242) the deployment content is deleted if first undeploy and then deploy the same application using CLI batch
Emmanuel Hugonnet (JIRA)
issues at jboss.org
Fri Nov 14 12:56:29 EST 2014
[ https://issues.jboss.org/browse/WFCORE-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020239#comment-13020239 ]
Emmanuel Hugonnet commented on WFCORE-242:
------------------------------------------
[Host Controller] 18:53:49,120 INFO [org.jboss.as.deployment] (management-handler-thread - 2) ServerGroupDeploymentUndeployHandler is undeploying something {
[Host Controller] "operation" => "undeploy",
[Host Controller] "address" => [
[Host Controller] ("server-group" => "main-server-group"),
[Host Controller] ("deployment" => "wildfly-ejb-in-war.war")
[Host Controller] ],
[Host Controller] "operation-headers" => {
[Host Controller] "caller-type" => "user",
[Host Controller] "access-mechanism" => "NATIVE",
[Host Controller] "domain-uuid" => "79e6a653-cf73-4d4f-a9b7-df0a83795da3"
[Host Controller] }
[Host Controller] }
[Host Controller] 18:53:49,125 INFO [org.jboss.as.deployment] (management-handler-thread - 2) ServerGroupDeploymentRemoveHandler is removing something {
[Host Controller] "operation" => "remove",
[Host Controller] "address" => [
[Host Controller] ("server-group" => "main-server-group"),
[Host Controller] ("deployment" => "wildfly-ejb-in-war.war")
[Host Controller] ],
[Host Controller] "operation-headers" => {
[Host Controller] "caller-type" => "user",
[Host Controller] "access-mechanism" => "NATIVE",
[Host Controller] "domain-uuid" => "79e6a653-cf73-4d4f-a9b7-df0a83795da3"
[Host Controller] }
[Host Controller] }
[Host Controller] 18:53:49,136 INFO [org.jboss.as.deployment] (management-handler-thread - 2) ServerGroupDeploymentAddHandler is adding something {
[Host Controller] "operation" => "add",
[Host Controller] "address" => [
[Host Controller] ("server-group" => "main-server-group"),
[Host Controller] ("deployment" => "wildfly-ejb-in-war.war")
[Host Controller] ],
[Host Controller] "operation-headers" => {
[Host Controller] "caller-type" => "user",
[Host Controller] "access-mechanism" => "NATIVE",
[Host Controller] "domain-uuid" => "79e6a653-cf73-4d4f-a9b7-df0a83795da3"
[Host Controller] }
[Host Controller] }
[Host Controller] 18:53:49,143 INFO [org.jboss.as.deployment] (management-handler-thread - 2) ServerGroupDeploymentDeployHandler is enabling something {
[Host Controller] "operation" => "deploy",
[Host Controller] "address" => [
[Host Controller] ("server-group" => "main-server-group"),
[Host Controller] ("deployment" => "wildfly-ejb-in-war.war")
[Host Controller] ],
[Host Controller] "operation-headers" => {
[Host Controller] "caller-type" => "user",
[Host Controller] "access-mechanism" => "NATIVE",
[Host Controller] "domain-uuid" => "79e6a653-cf73-4d4f-a9b7-df0a83795da3"
[Host Controller] }
[Host Controller] }
[Server:server-one] 18:53:49,252 INFO [org.jboss.as.server] (ServerService Thread Pool -- 20) DeploymentUndeployHandler is undeploying something {
[Server:server-one] "operation" => "undeploy",
[Server:server-one] "address" => [("deployment" => "wildfly-ejb-in-war.war")],
[Server:server-one] "operation-headers" => {}
[Server:server-one] }
[Server:server-two] 18:53:49,263 INFO [org.jboss.as.server] (ServerService Thread Pool -- 12) DeploymentUndeployHandler is undeploying something {
[Server:server-two] "operation" => "undeploy",
[Server:server-two] "address" => [("deployment" => "wildfly-ejb-in-war.war")],
[Server:server-two] "operation-headers" => {}
[Server:server-two] }
[Server:server-one] 18:53:49,267 INFO [org.jboss.as.server] (ServerService Thread Pool -- 20) DeploymentAddHandler is adding something {
[Server:server-one] "operation" => "add",
[Server:server-one] "address" => [("deployment" => "wildfly-ejb-in-war.war")],
[Server:server-one] "operation-headers" => {},
[Server:server-one] "runtime-name" => "wildfly-ejb-in-war.war",
[Server:server-one] "content" => [{"hash" => bytes {
[Server:server-one] 0x5e, 0x4b, 0x77, 0x2f, 0xb7, 0xc3, 0x95, 0xc3,
[Server:server-one] 0xc3, 0x00, 0xda, 0xd6, 0xe9, 0x3e, 0x3d, 0x8c,
[Server:server-one] 0x7e, 0xcd, 0xea, 0x20
[Server:server-one] }}]
[Server:server-one] }
[Server:server-one] 18:53:49,270 INFO [org.jboss.as.server] (ServerService Thread Pool -- 20) DeploymentDeployHandler is enabling something {
[Server:server-one] "operation" => "deploy",
[Server:server-one] "address" => [("deployment" => "wildfly-ejb-in-war.war")],
[Server:server-one] "operation-headers" => {}
[Server:server-one] }
[Server:server-one] 18:53:49,280 INFO [org.jboss.as.server] (ServerService Thread Pool -- 20) DeploymentRemoveHandler is removing something {
[Server:server-one] "operation" => "remove",
[Server:server-one] "address" => [("deployment" => "wildfly-ejb-in-war.war")],
[Server:server-one] "operation-headers" => {}
[Server:server-one] }
[Server:server-two] 18:53:49,284 INFO [org.jboss.as.server] (ServerService Thread Pool -- 12) DeploymentAddHandler is adding something {
[Server:server-two] "operation" => "add",
[Server:server-two] "address" => [("deployment" => "wildfly-ejb-in-war.war")],
[Server:server-two] "operation-headers" => {},
[Server:server-two] "runtime-name" => "wildfly-ejb-in-war.war",
[Server:server-two] "content" => [{"hash" => bytes {
[Server:server-two] 0x5e, 0x4b, 0x77, 0x2f, 0xb7, 0xc3, 0x95, 0xc3,
[Server:server-two] 0xc3, 0x00, 0xda, 0xd6, 0xe9, 0x3e, 0x3d, 0x8c,
[Server:server-two] 0x7e, 0xcd, 0xea, 0x20
[Server:server-two] }}]
[Server:server-two] }
[Server:server-two] 18:53:49,286 INFO [org.jboss.as.server] (ServerService Thread Pool -- 12) DeploymentDeployHandler is enabling something {
[Server:server-two] "operation" => "deploy",
[Server:server-two] "address" => [("deployment" => "wildfly-ejb-in-war.war")],
[Server:server-two] "operation-headers" => {}
[Server:server-two] }
[Server:server-one] 18:53:49,299 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0022: Unregistered web context: /wildfly-ejb-in-war
[Server:server-two] 18:53:49,303 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0022: Unregistered web context: /wildfly-ejb-in-war
[Server:server-two] 18:53:49,293 INFO [org.jboss.as.server] (ServerService Thread Pool -- 12) DeploymentRemoveHandler is removing something {
[Server:server-two] "operation" => "remove",
[Server:server-two] "address" => [("deployment" => "wildfly-ejb-in-war.war")],
[Server:server-two] "operation-headers" => {}
[Server:server-two] }
> 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