0 Replies Latest reply on Jan 22, 2003 6:31 AM by jackburns

    Mulitple context roots for single war file

    jackburns

      Hi,
      I am using 2.44 and Tomcat 4.01 and trying to map two context roots to the same war archive. If I create 2 separate modules in application.xml (below), Jboss unpacks the war archive twice for the different contexts.

      Is there any way of telling jboss that two different contexts will map to the same war file - the different functionality associated with the two contexts is handled by the web application

      (There are other war files in the ear file with different context roots so I can't map the root context / to this war file)

      thanks in advance,
      Jack

      ...application.xml...


      <display-name>application</display-name>


      <web-uri>jack.war</web-uri>
      <context-root>first</context-root>





      <web-uri>jack.war</web-uri>
      <context-root>second</context-root>



      ...