This content has been marked as final.
Show 2 replies
-
1. Re: WAR and EJB-JAR in same EAR?
fljmayer Jun 6, 2004 9:45 AM (in response to fljmayer)Hm, something went wrong in the last sentence. I meant the ejb and web modules. Here is an attempt to post my application.xml for clarification:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd"> <application> <display-name>lifex</display-name> <module> <web> <web-uri>lifex.war</web-uri> <context-root>/lifex</context-root> </web> <ejb>lifex.jar</ejb> </module> </application>
-
2. Re: WAR and EJB-JAR in same EAR?
starksm64 Jun 6, 2004 10:09 AM (in response to fljmayer)Problem sovled. This is not a valid application.xml and unfortunately we do not validate the application.xml against its dtd because we allow for one without any modules in the case of an ear containing only sars. If you validate the doc against its dts you will get an error like:
The content of module must match ((connector|ejb|java|web),alt-dd?)