Sub deployment .war in jboss-deployment-structure.xml was not found

Solution Verified - Updated -


  • When deploying a TEST.ear, a below deployment error shows and fails to deploy the application.
  • TEST.war is included in TEST.ear archive file.
  • User deployed TEST.ear archive file with defining application-name as TEST.war

Error log

08:28:10,499 ERROR [] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "TEST.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"TEST.war\".STRUCTURE" => "WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"TEST.war\"
    Caused by: WFLYSRV0166: Sub deployment TEST.war in jboss-deployment-structure.xml was not found. Available sub deployments: "}}


<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
   <sub-deployment name="TEST.war">


  • JBoss EAP 6.x / 7.x
  • Unmanaged mode application deployment

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In