Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-354

JBoss7 undeployment order

    XMLWordPrintable

Details

    Description

      I have a jboss-all.xml which is placed in the META-INF folder of App1.war.
      This descriptor defines a dependency on activemq.rar for App1.war.
      <jboss umlns="urn:jboss:1.0">
      <jboss-deployment-dependencies xmlns="urn:jboss:deployment-dependencies:1.0">
      <dependency name="activemq.rar" />
      </jboss-deployment-dependencies>
      </jboss>

      While starting the server the deployment order is correct.activemq.rar gets deployed first and then App1.war.But when the server is stopped I see the queues and factories being unbound before App1.war is undeployed.This causes errors for App1.war
      Would it be possible to have the undeployment order the reverse of what is given in jboss-all.xml.That way App1.war will be undeployed first and then activemq.rar.I have added a post for this in the forum as well.

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            nimmi_jira jboss_dev a (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: