2 Replies Latest reply on Apr 20, 2003 12:03 PM by Mike Shoemaker

    virtual host question

    Mike Shoemaker Newbie

      Hello Folks

      Im trying to deploy an ear file on Jboss 3/Tomcat 4.x. I have added the following entry into the tomcat41-service.xml.

      ^M
      <Valve className = "org.apache.catalina.valves.AccessLogValve"^M
      prefix = "localhost_access" suffix = ".log"^M
      pattern = "common" directory = "../server/default/log" />^M
      ^M


      www.mydomain.com ^M
      <Valve className = "org.apache.catalina.valves.AccessLogValve"^M
      prefix = "mydomain_access" suffix = ".log"^M
      pattern = "common" directory = "../server/default/log" />^M
      ^M


      I also have the following in Ear(contains WAR), inside of war's WEB-INF dir, jboss-web.xml

      <jboss-web>
      <context-root>/</context-root>
      <virtual-host>www.mydomain.com</virtual-host>
      </jboss-web>