0 Replies Latest reply on Jul 14, 2004 10:18 AM by wtff

    alt-dd element in application.xml

      I would like to specify alternate deployment-descriptors within the application.xml file of an ear, but it doesn't seem to work.

      I'm using jboss 3.2.5 and this application.xml:


      <display-name>Test Application</display-name>
      test.jar


      <web-uri>test.war</web-uri>
      <context-root>one</context-root>

      <alt-dd>META-INF/web/web.xml</alt-dd>



      JBoss does not report any warning of any kind about not finding the alt-dd URL.
      I also tried using other URL forms, like pointing only to the directory in which the descriptor is located: META-INF/web

      I have created two web descriptors, one that is located within the test.war package and the other in the META-INF/web directory.
      Both contain an env-entry with different values.
      When I deploy the ear, the default web.xml descriptor is being evaluated and not the alternative one.