3 Replies Latest reply on Jul 17, 2012 9:11 AM by jaikiran pai

    War packaged inside a Sar fails to deploy

    Sohil Shah Newbie

      I have a sar file which contains a war file. The sar file deploys just fine. However, even after specifying the sub-deployment value I am getting the following error message:


      org.jboss.as.server.deployment.DeploymentUnitProcessingException: Sub deployment o.war in jboss-structure.xml was not found.


      Here is the overall structure of my sar file:



                       | 3rd party jar files needed by the service

                       | o.war


      Here is my jboss-deployment-structure.xml


      <?xml version="1.0" encoding="UTF-8"?>




             <module name="org.dom4j" />

             <module name="org.apache.commons.collections"/>



               <resource-root path="openmobster-sar-2.2-M8.jar">




         <!-- war deployment -->

        <sub-deployment name="o.war">




      You help with this will be greatly appreciated