4 Replies Latest reply on Feb 12, 2009 11:56 PM by sun kum

    virtualhost problem

    sun kum Newbie

      using jb 4.2.2

      for virtual host conf in server.xml

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


      for app.war's jboss-web.xml

      <?xml version="1.0"?>
      <!DOCTYPE jboss-web>
      <jboss-web>
      <context-root>/</context-root>
      <virtual-host>kn.example.com</virtual-host>
      </jboss-web>


      error on startup log

      03:11:17,109 WARN [TomcatDeployer] Failed to map vhost: kn.example.com
      03:11:17,109 INFO [TomcatDeployer] deploy, ctxPath=/Calendar, warUrl=.../tmp/deploy/tmp13839Calendar-exp.war/
      03:11:17,264 WARN [config] Unable to process deployment descriptor for context 'null'
      03:11:18,502 WARN [config] Unable to process deployment descriptor for context 'null'
      03:11:18,639 WARN [config] Unable to process deployment descriptor for context 'null'
      03:11:18,860 WARN [config] Unable to process deployment descriptor for context 'null'
      03:11:19,302 WARN [config] Unable to process deployment descriptor for context 'null'
      03:11:19,515 WARN [config] Unable to process deployment descriptor for context 'null'
      03:11:19,771 WARN [config] Unable to process deployment descriptor for context 'null'


      Pls. suggest virtual hosting not working...

      where dns resolving name fine.