Getting JBAS018746 during deployment in JBoss EAP 6
Issue
- While trying to deploy ear file through CLI, got the following error message.
deploy /user/java/ABC.ear --name=ABC
14:12:18,449 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "ABC"
14:12:18,498 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit.ABC.STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit.ABC.STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment "ABC"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_17]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018746: Sub deployment ABC.war in jboss-deployment-structure.xml was not found. Available sub deployments:
at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.subDeploymentNotFound(DeploymentStructureDescriptorParser.java:253) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.deploy(DeploymentStructureDescriptorParser.java:163) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
... 5 more
14:12:18,504 INFO [org.jboss.as.server] (management-handler-thread - 1) JBAS015870: Deploy of deployment "ABC" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.ABC.STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.ABC.STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment \"ABC\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018746: Sub deployment ABCwar in jboss-deployment-structure.xml was not found. Available sub deployments: "}}
14:12:18,505 INFO [org.jboss.as.controller] (management-handler-thread - 1) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit.ABC.STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit.ABC.STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment "ABC"
{"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.ABC.STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.ABCSTRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment \"ABC\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018746: Sub deployment ABCwar in jboss-deployment-structure.xml was not found. Available sub deployments: "}}}}
[standalone@localhost:9999 /] 14:12:18,509 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment ABC in 2ms
Environment
- JBoss Enterprise Application Platform (EAP)
- 6.x
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.
