1 Reply Latest reply on Feb 13, 2009 12:06 AM by sunlinux

    virtual host issue

    sunlinux

      on linux using Jboss 4.2.2GA, facing issue on virtual host configuration .. it shows blank page on opening in browser

      http://kn.example.com:8080


      below is server.xml conf for virtual host.

      <Host name="kn"
       autoDeploy="false" deployOnStartup="false" deployXML="false">
       <Alias>kn.example.com</Alias>
       <Valve className="org.apache.catalina.valves.AccessLogValve"
       prefix="kn" suffix=".log"
       pattern="common" directory="${jboss.server.home.dir}/log"/>
      </Host>
      


      below is jboss.web.xml in application "my.war"

      <jboss-web>
      <context-root>/</context-root>
      <virtual-host>kn.example.com</virtual-host>
      </jboss-web>


      pls. guide.. my DNS is resolving ok that host.

        • 1. Re:  virtual host issue
          sunlinux

          below error in jboss startup logs


          22:34:21,196 WARN [TomcatDeployer] Failed to map vhost: kn.example.com
          22:34:21,196 INFO [TomcatDeployer] deploy, ctxPath=/Calendar, warUrl=.../tmp/deploy/tmp43393Calendar-exp.war/
          22:34:21,397 WARN [config] Unable to process deployment descriptor for context 'null'
          22:34:22,621 WARN [config] Unable to process deployment descriptor for context 'null'
          22:34:22,762 WARN [config] Unable to process deployment descriptor for context 'null'
          22:34:23,016 WARN [config] Unable to process deployment descriptor for context 'null'
          22:34:24,005 WARN [config] Unable to process deployment descriptor for context 'null'
          22:34:24,416 WARN [config] Unable to process deployment descriptor for context 'null'
          22:34:24,719 WARN [config] Unable to process deployment descriptor for context 'null'