[
http://jira.jboss.com/jira/browse/JBAS-3501?page=comments#action_12341491 ]
Dimitris Andreadis commented on JBAS-3501:
------------------------------------------
A packed .ear would more or less be expected to comform to the j2ee packaging standards,
i.e. contain other packaged modules, so I'm not sure if your usecase is valid.
An unpacked deployment on the other hand, is a jboss feature.
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