1 Reply Latest reply on Jul 3, 2003 5:37 AM by bluetanso

    Two WARs , Virtual host problem.

    compusm


      Hello.

      I am trying to run two wars on JBoss-Tomcat(3.2).
      But I want each WAR to have each different domain
      name.

      So I configured each jboss-service.xmls
      - using <virtual-host> tag.

      After that working, I tested.
      But two domains show the main page of one WAR.
      How can I make each domain to show each own WAR?

      Please commet.



        • 1. Re: Two WARs , Virtual host problem.
          bluetanso

          Hi

          I too have this problem, despite following the example in the JBoss Docs...I am using: jboss-3.0.0_tomcat-4.0.3

          I have a .com and a .co.uk which point via DNS to *one* IP address,
          but have configured *two* entries in my 'tomcat4-service.xml'.
          Each the .com's and the .co.uk's Jboss-web.xml files have each been set up
          to reference (via <virtual host>) the intended in tomcat4-service.xml
          file.

          Thanks for any help in advance!