Deploying a JON provisioning bundle with multiple WARs to a destination WAR results in only one deployed WAR

Solution Unverified - Updated -

Issue

  • Error when deploying a bundle with multiple exploded WARs
  • Instead of showing 4 WAR deployments from the bundle, only 1 is deployed
  • Whenever I deploy with multiple WAR files inside my bundle, it only lists one deployed application
  • Bundle with multiple WAR files result in one WAR deployment with the same name as the deployment directory (i.e sample.war).
  • Single bundle with multiple WARs results in only one WAR being deployed.

Environment

  • Red Hat JBoss Operations Network (ON) 3.1.2
  • JBoss ON provisioning bundle containing multiple WARs:

    sample-bundle.zip/
    |-- deploy.xml
    |-- my-app-01.war
    |-- my-app-02.war
    `-- my-app-03.war
    
  • JBoss ON bundle recipe which deploys the WARs as rhq:archive elements:

        ...
            <rhq:deployment-unit name="my-application-bundle" ... >
                <rhq:archive name="my-app-01.war" exploded="true"/>
                <rhq:archive name="my-app-02.war" exploded="true"/>
                <rhq:archive name="my-app-03.war" exploded="true"/>
            </rhq:deployment-unit>
        ...
    
  • JBoss ON bundle destination directory such as deploy/my-app.war or deployments/my-app.war

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.