[jboss-jira] [JBoss JIRA] Created: (JBAS-3501) JBoss ignores exploded modules inside an unexploded EAR

Gregory Nolle (JIRA) jira-events at jboss.com
Wed Aug 9 15:19:13 EDT 2006


JBoss ignores exploded modules inside an unexploded EAR
-------------------------------------------------------

                 Key: JBAS-3501
                 URL: http://jira.jboss.com/jira/browse/JBAS-3501
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Deployment services
    Affects Versions: JBossAS-4.0.4.GA
            Reporter: Gregory Nolle
         Assigned To: Dimitris Andreadis
         Attachments: EARDeployer.diff

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(...).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list