0 Replies Latest reply on Dec 4, 2007 11:13 AM by Terry

    help setting up virtual host

    Terry Apprentice

      JBoss AS 4.2.2GA. Deploying in EAR.

      I am having problem getting virtual host to work. I would like web application to work as 'http://admin.tisc.edu.au:8090'. DNS entry for admin.tisc.edu.au is already set up for IP 192.168.164.20

      However I get a blank page in browser for http://admin.tisc.edu.au:8090

      META-INF\application.xml
      ...
       <module>
       <web>
       <web-uri>tisconline-admin.war</web-uri>
       <context-root>/</context-root>
       </web>
       </module>
      ...
      
      tisconline-admin.war\WEB-INF\jboss-web.xml
      ...
      <?xml version="1.0"?>
      <!DOCTYPE jboss-web>
      
      <jboss-web>
       <context-root>/</context-root>
       <virtual-host>admin.tisc.edu.au</virtual-host>
      </jboss-web>
      ...
      
      server\default\deploy\jboss-web.deployer\server.xml
      ...
      
      <Engine name="jboss.web" defaultHost="localhost">
      ...
       <Host name="admin.tisc.edu.au"
       autoDeploy="false" deployOnStartup="false" deployXML="false"
       configClass="org.jboss.web.tomcat.security.config.JBossContextConfig">
      
       <Valve className="org.apache.catalina.valves.AccessLogValve"
       fileDateFormat="yyyy-MM-dd"
       prefix="admin.tisc_access."
       suffix=".log"
       pattern="%h %l %u %t "%r" %s %b"
       directory="${jboss.server.home.dir}/log"
       resolveHosts="false"/>
      
       <Valve className="org.jboss.web.tomcat.service.jca.CachedConnectionValve"
       cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager"
       transactionManagerObjectName="jboss:service=TransactionManager" />
       </Host>
      
      </Engine>
      ...