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

JBoss ignores exploded modules inside an unexploded EAR

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • No Release
    • JBossAS-4.0.4.GA
    • Deployers
    • None

    Description

      The EARDeployer ignores modules that are exploded inside an unexploded EAR and then throws an error saying that it couldn't find said modules. If the EAR is exploded as well then it's not a problem.

      I've attached a patch for the EARDeployer class that fixes the problem. I personally think it's an inelegant solution but I don't have the time to do the refactoring necessary to improve it. Nonetheless, it seems to work for me. I've basically copied a bunch of code out of the JarUtils class to work out the URL to the exploded JAR's directory in the tempDeployDir and then added that to the extractedJars map, without using JarUtils.extractNestedJar(...).

      Attachments

        Activity

          People

            dandread1@redhat.com Dimitrios Andreadis
            gregnolle_jira Gregory Nolle (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: