0 Replies Latest reply on Apr 28, 2003 2:00 PM by weliwarmer

    multiple roots with virtual hosts in ear

    weliwarmer

      Hi

      I have three wars in an ear and a virtual host name for each: admin, project and main (for e.g.)

      I would like to specify that the root context for each war corresponds to the virtual host in the application.xml for the ear. What I have so far...



      <web-uri>main.war</web-uri>
      <virtual-host>main</virtual-host>
      <context-root>/</context-root>




      <web-uri>admin.war</web-uri>
      <virtual-host>admin</virtual-host>




      <web-uri>project.war</web-uri>
      <virtual-host>project</virtual-host>




      But this gives me the main module on all virtual host root contexts.

      Adding <context-root>/</context-root> to the other modules does not give me any difference.

      I'm using JBoss 3.2.0 with Jetty.

      Thanks, Tim.