Details
-
Bug
-
Resolution: Obsolete
-
Major
-
JBossAS-4.0.4.GA
-
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(...).