1 Reply Latest reply on Jan 4, 2006 5:47 PM by Chris Cheshire

    virtual server configuration not working

    Chris Cheshire Newbie

      I am trying to move some apps running on just Apache + Tomcat to Apache + JBoss/Tomcat. I have downloaded and installed JBoss-4.0.3SP1 on a solaris 2.9 (x86) machine. Going to myhost.mydomain.com:8080 in a browser works, it brings up the JBoss welcome page with links to the tomcat status etc.

      I have defined in my DNS a new A record for anotherhost.mydomain.com pointing to the same machine (same way as I do it right now for the virtual hosting under just Tomcat).

      I have exploded the war for the web app I am trying to deploy in it's own user directory, permissions are set so everyone can read it etc.

      I have edited /usr/local/jboss-4.0.3SP1/server/default/deploy/jbossweb-tomcat55.sar/server.xml as outlined in the wiki to add a host section (which seems to be just the same as what I have done in my existing tomcat installation).

      <Host name="anotherhost.mydomain.com" appBase="path to web root of app"
       autoDeploy="true" deployOnStartup="true" deployXML="false">
       <Alias>anotherhostAlias>
       <Valve className="org.apache.catalina.valves.AccessLogValve" prefix="anotherhost"
       suffix=".log" pattern="common" directory="${jboss.server.home.dir}/log" />
       <DefaultContext cookies="true" crossContext="true" override="true"
       reloadable="true" />
      </Host>
      


      When I navigate to the page I get a blank page. View Source and it is completely empty. If I try and go to a page I know exists, Firefox brings up a Save As option, and saves a completely empty file. If I navigate to something I know DOESN'T exist, it does the same thing.

      I am completely confused. What else do I need to configure?

      Chris