| Simon Temple (JIRA) 2006-02-22, 5:45 pm |
| [ http://issues.apache.org/jira/brows...action_12367350 ]
Simon Temple commented on DIRSERVER-331:
----------------------------------------
Yes I removed the maven XML files and the problem goes away.
Any XML file in a META-INF folder is regarded as instruction to a deployer... I checked to the JBoss code... they search for all files with the .xml extension beneath META-INF.
> JAR File Contents Cause JBoss Deployer To Fail
> ----------------------------------------------
>
> Key: DIRSERVER-331
> URL: http://issues.apache.org/jira/browse/DIRSERVER-331
> Project: Directory ApacheDS
> Type: Bug
> Components: sar
> Versions: 1.0-RC1
> Environment: JDK 1.4.2, JBoss 3.2
> Reporter: Simon Temple
> Assignee: Alex Karasulu
> Fix For: 1.0-RC2
>
> The presence of the META-INF/maven folders and/or their content causes the JBoss deployer to skip JAR files.
> Then we experience an avalanche of java.lang.NoClassDefFoundError exceptions!
> It could be argued that this is a problem with the JBoss deployer (perhaps seraching for .xml files in META-INF folders), however, we're not in a position to modify the JBoss deployer at this time.
> Can the maven folders be removed from the JARs or perhaps a build switch introduced to produce JBoss compatible JARs?
> Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|