[jboss-user] [Installation, Configuration & DEPLOYMENT] - help setting up virtual host

terryb do-not-reply at jboss.com
Tue Dec 4 11:13:03 EST 2007


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>
  | ...
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110241#4110241

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110241



More information about the jboss-user mailing list