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.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842036#3842036

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842036


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to