Okay, I removed the default ROOT.war, and changed the annotation to read 
contextRoot="ROOT", but that seems to cause it to ignore the @PortComponent 
entirely - it deploys to the default /earname-jarname/ context, with the 
default name.

btw, my application.xml is like this:
<application>
  |   <display-name>MyExample</display-name>
  |   <module>
  |     <web>
  |       <web-uri>example.war</web-uri>
  |       <context-root>/</context-root>
  |     </web>
  |   </module>
  |   <module>
  |     <ejb>example.jar</ejb>
  |   </module>
  | </application>
There is no context root specified in the web.xml.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032573
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to