]
ehsavoie Hugonnet moved JBEAP-6275 to WFCORE-1846:
--------------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-1846 (was: JBEAP-6275)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Domain Management
(was: Domain Management)
Affects Version/s: 3.0.0.Alpha9
(was: 7.1.0.DR5)
WFLYSRV0153 error after attempting to explode archived subdeployments
of archived deployments
---------------------------------------------------------------------------------------------
Key: WFCORE-1846
URL:
https://issues.jboss.org/browse/WFCORE-1846
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 3.0.0.Alpha9
Reporter: ehsavoie Hugonnet
Assignee: ehsavoie Hugonnet
In archived deployments with archived subdeployments, the {{explode}} operation with
{{path}} parameter defined to point at archived subdeployment causes the removal of whole
deployment from the content repository.
This operation is illegal, but the server should produce formed warning message with
operation failing gracefully instead of throwing stack trace in this case.
server.log:
{code}09:05:07,664 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool --
29) WFLYUT0022: Unregistered web context: /subdeployment-test-web
09:05:07,701 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 2)
WFLYCLINF0003: Stopped client-mappings cache from ejb container
09:05:07,719 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0208:
Stopped subdeployment (runtime-name: subdeployment-test-ejb.jar) in 65ms
09:05:07,719 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0208:
Stopped subdeployment (runtime-name: subdeployment-test-web.war) in 66ms
09:05:07,722 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028:
Stopped deployment subdeployment-test.ear (runtime-name: subdeployment-test.ear) in 69ms
09:05:07,732 INFO [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0009:
Undeployed "subdeployment-test.ear" (runtime-name:
"subdeployment-test.ear")
09:05:07,754 INFO [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0002:
Content removed from location
/home/mjurc/testing/wildfly/testsuite/integration/basic/target/jbossas/standalone/data/content/13/5a0425d908539149b62eb99b63710c67b13466/content
09:05:07,762 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027:
Starting deployment of "subdeployment-test.ear" (runtime-name:
"subdeployment-test.ear")
[0m[31m09:05:07,763 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5)
MSC000001: Failed to start service
jboss.deployment.unit."subdeployment-test.ear".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."subdeployment-test.ear".STRUCTURE: WFLYSRV0153: Failed to
process phase STRUCTURE of deployment "subdeployment-test.ear"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1963)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1896)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0160:
Failed to mount deployment content
at
org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:95)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
... 5 more
Caused by: java.io.FileNotFoundException:
/home/mjurc/testing/wildfly/testsuite/integration/basic/target/jbossas/standalone/data/managed-exploded/subdeployment-test.ear
(No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at org.jboss.vfs.spi.RootFileSystem.openInputStream(RootFileSystem.java:51)
at org.jboss.vfs.VirtualFile.openStream(VirtualFile.java:318)
at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:533)
at
org.jboss.as.server.deployment.DeploymentMountProvider$Factory$ServerDeploymentRepositoryImpl.mountDeploymentContent(DeploymentMountProvider.java:108)
at
org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:91)
... 6 more
[0m[31m09:05:07,765 ERROR [org.jboss.as.controller.management-operation]
(management-handler-thread - 3) WFLYCTL0013: Operation ("deploy") failed -
address: (("deployment" => "subdeployment-test.ear")) - failure
description: {
"WFLYCTL0080: Failed services" =>
{"jboss.deployment.unit.\"subdeployment-test.ear\".STRUCTURE" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"subdeployment-test.ear\".STRUCTURE: WFLYSRV0153: Failed
to process phase STRUCTURE of deployment \"subdeployment-test.ear\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
WFLYSRV0160: Failed to mount deployment content
Caused by: java.io.FileNotFoundException:
/home/mjurc/testing/wildfly/testsuite/integration/basic/target/jbossas/standalone/data/managed-exploded/subdeployment-test.ear
(No such file or directory)"},
"WFLYCTL0412: Required services that are not installed:" =>
["jboss.deployment.unit.\"subdeployment-test.ear\".STRUCTURE"],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
undefined
}
09:05:07,767 ERROR [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0021:
Deploy of deployment "subdeployment-test.ear" was rolled back with the following
failure message:
{
"WFLYCTL0080: Failed services" =>
{"jboss.deployment.unit.\"subdeployment-test.ear\".STRUCTURE" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"subdeployment-test.ear\".STRUCTURE: WFLYSRV0153: Failed
to process phase STRUCTURE of deployment \"subdeployment-test.ear\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
WFLYSRV0160: Failed to mount deployment content
Caused by: java.io.FileNotFoundException:
/home/mjurc/testing/wildfly/testsuite/integration/basic/target/jbossas/standalone/data/managed-exploded/subdeployment-test.ear
(No such file or directory)"},
"WFLYCTL0412: Required services that are not installed:" =>
["jboss.deployment.unit.\"subdeployment-test.ear\".STRUCTURE"],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
undefined
}
09:05:07,768 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0028:
Stopped deployment subdeployment-test.ear (runtime-name: subdeployment-test.ear) in 1ms
09:05:07,770 INFO [org.jboss.as.controller] (management-handler-thread - 3) WFLYCTL0183:
Service status report
WFLYCTL0186: Services which failed to start: service
jboss.deployment.unit."subdeployment-test.ear".STRUCTURE{code}