- This topic has 5 replies, 3 voices, and was last updated 14 years, 7 months ago by Brian Fernandes.
-
AuthorPosts
-
Ed ThompsonMemberI have a jboss-app.xml file for jboss 4.2 which looks to be perfectly valid:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE jboss-app PUBLIC "-//JBoss//DTD J2EE Application 1.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd"> <jboss-app> <module-order>strict</module-order> </jboss-app>
However, Myeclipse 8.5 seems to not like it:
The content of element type "jboss-app" must match "(security-domain?,unauthenticated-principal?,loader-repository?,jmx-name?,module*,security-role*)".
However the DTD at http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd clearly shows:
<!ELEMENT jboss-app (module-order?,security-domain?, unauthenticated-principal?, loader-repository?, jmx-name?, library-directory?, module*, security-role*)>
Which is inconsistent with the error msg, which does not include the module-order element.
Not real sure what this means myeclipse is validating against.
Help?
Ed ThompsonMemberIt’s SOMETHING in my environment, because a peer does not get that error, but for the life of me I don’t know what it is.
support-joyMemberEdward,
Can you send a sample project to reproduce at our end? Please send a mail to support@genuitec.com with sample project as attachment, add ATTN:Joy in the subject and include reference of this weblink in your mail. This will help in quick tracing.
Ed ThompsonMemberSent.
support-joyMemberEd,
Thank you. Received your email. I shall investigate and get back to you.
Brian FernandesModeratorEd,
We have an internal XML catalog which is keyed off the Public ID –
-//JBoss//DTD J2EE Application 1.4//EN
Our catalog entry currently points to version 1.4.0 of the same DTD.
To fix this, download the DTD from http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd into a stable location on your machine or place it in your workspace. Go to Window > Preferences > MyEclipse > XML > XML Catalog and click Add. In the location field, browse to the location of the file you just downloaded. Leave the key type at Public ID and specify the same key –
-//JBoss//DTD J2EE Application 1.4//EN
. Alternatively, you could change the key type to URI and specify
http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd
If you click OK, the DTD you specified should now take precedence over the internal DTD that we ship with MyEclipse.
Hope this helps.
-
AuthorPosts