2 Replies Latest reply on Jun 7, 2004 3:06 AM by Vishal Sharma

    no META-INF/application.xml found

    lipe Newbie

      Hello, good morning.

      I´m trying to deploy an ear file in jboss 3.2.3 and I keep getting the following exception:

      org.jboss.deployment.DeploymentException: No META-INF/application.xml found


      Here is my directory structure inside the ear file:
      META-INF
      |---application.xml
      myjar.jar
      mywebapp.war


      And inside the application.xml
      <?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>Hello Ear File</display-name>
       <module>
       <ejb>myjar.jar</ejb>
       </module>
       <module>
       <web>
       <web-uri>mywebapp.war</web-uri>
       <context-root>/webapp</context-root>
       </web>
       </module>
      </application>


      What am I doing wrong?

      Thanks a lot :D