Getting JBAS018746 error during deployment in JBoss EAP 6
Issue
- While trying to deploy ear file through CLI:
deploy /user/java/ABC.ear --name=ABC
The following error message is getting:
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
- Getting the below error while deploying the war file
ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) JBAS014612: Operation ("deploy") failed - address: ({"deployment" => "app.war"}) - failure description: {"JBAS014671: Failed services" => {"jboss.module.service.\"deployment.app.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.data-connector-server.war\".main: Failed to start service
Caused by: java.lang.reflect.UndeclaredThrowableException
Caused by: java.io.EOFException: input contained no data"}}
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.