Andreas Wurzer created MEAR-147: ----------------------------------- Summary: wrong DOCTPYE in jboss-app.xml for 4.2 Key: MEAR-147 URL: https://jira.codehaus.org/browse/MEAR-147 Project: Maven 2.x Ear Plugin Issue Type: Bug Affects Versions: 2.7 Reporter: Andreas Wurzer Attachments: jboss42.patch
MEAR-104 doesn't completly fix the issue with the generated jboss-app.xml because the PUBLIC identifier in the DOCTYPE for JBoss 4.2 should be "-//JBoss//DTD J2EE Application 4.2//EN" as seen in the jboss-app_4_2.dtd. At present it is "-//JBoss//DTD J2EE Application 1.4//EN" which leads to the following problem - because it is validated against the wrong DTD for JBoss 4.0 (jboss-app_4.0.dtd). {{org.xml.sax.SAXParseException: The content of element type "jboss-app" must match "(module-order?,security-domain?,unauthenticated-principal?,loader-repository?,jmx-name?,module*,security-role*)"}} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira