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

    no META-INF/application.xml found

    lipe

      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

        • 1. Re: no META-INF/application.xml found
          lipe

          Oh my god ...............

          Can you guess what was the problem??? THE F* B* M*F* WINRAR FROM HELL ... jboss couldn´t find the folder and the file ... I used winzip and ... ta-dá ...

          "Remeber kids, along the river, not across the road"

          ...

          • 2. Re: no META-INF/application.xml found

            Make sure the persmmision are ok on appliaction.xml that is it has proper read permission.
            Secondly appliaction.xml goes in META-INF directory, it's not clear from yr posting the level of this file.


            I hope this helps.

            Vishal.