Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-3398

Non exploded sar containing war cannot undeploy the war file properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBossAS-4.2.0.CR1
    • JBossAS-4.0.3 Final, JBossAS-4.0.3 SP1, JBossAS-4.0.4.GA
    • Deployers
    • None
    • Low
    • Workaround Exists
    • Hide

      Deploy sar exploded.

      Show
      Deploy sar exploded.

    Description

      A sar file containing a war file non exploded is dropped in AS before startup.
      Start JBoss
      Shutdown JBoss

      The MainDeployer wants to stop() / destroy() the war file.
      The Web deployer is already gone and it produces an javax.management.InstanceNotFoundException when it tries to stop() / destroy() the war deployer

      Because the war is nested in a sar file, the web deployer is undeployed before the sar containing the war is undeployed.

      Note : this does not happen with exploded sar (like http invoker sar that contains the invoker.war) because the war is added to the MainDeployer.deploymentList list. This does not
      happen with non exploded because the war file is not in the local directory but rather in tmp and thus does not get added to the deployment list. Here are some field values :

      the string used to discriminate wether it's in local or tmp

      a war in non exploded sar

      invoker.war in exploded sar

      Attachments

        Activity

          People

            dandread1@redhat.com Dimitrios Andreadis
            julien1_jira julien1 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: