Thanks for the reply, but your example changes the war context root, not the 
ear context root.

I am trying to change the context root of the ear being deployed, not the war.

i.e. if i deploy an ear named my-ear-1.2.ear containing a war my-war-1.2.war it 
will deploy with the JNDI context my-ear-1.2/my-war-1.2.

If i do what you say and add the following application.xml

    <module>
  |         <web>
  |             <web-uri>my-war-1.2.war</web-uri>
  |             <context-root>my-war</context-root>
  |         </web>
  |     </module>       

it will deploy with JNDI context of my-ear-1.2/my-war.

What I want to be able to do is deploy my ear to the following JNDI context, 
for example. my-ear/my-war.


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

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


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to