Hi Mike. Are you setting up a virtual host for local development where you have entered
the virtual host in your hosts file or were you successful at setting up the virtual host
that relies on the DNS server to resolve the IP address? The latter is the problem that
I'm having. I can setup the virtual host for my local development environment but
I'm having problems with 4.2.0 resolving the IP from the DNS server when trying to
access the site from a remote machine.
Below is one of my < Host > entries in server.xml:
| <Server>
| <Service name="jboss.web">
|
| <Connector port="80" address="${jboss.bind.address}"
| maxThreads="250" maxHttpHeaderSize="8192"
| emptySessionPath="true" protocol="HTTP/1.1"
| enableLookups="false" redirectPort="8443"
acceptCount="100"
| connectionTimeout="20000" disableUploadTimeout="true"
/>
|
| <!-- Define an AJP 1.3 Connector on port 8009 -->
| <Connector port="8009" address="${jboss.bind.address}"
protocol="AJP/1.3"
| emptySessionPath="true" enableLookups="false"
redirectPort="8443" />
|
| <Engine name="jboss.web" defaultHost="localhost">
|
| ........
|
| <Host name="epic-test"
| autoDeploy="false" deployOnStartup="false"
deployXML="false"
|
configClass="org.jboss.web.tomcat.security.config.JBossContextConfig"
| >
| <Alias>epic-test.mydomain.com</Alias>
| <Valve
className="org.jboss.web.tomcat.service.jca.CachedConnectionValve"
|
cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager"
|
transactionManagerObjectName="jboss:service=TransactionManager" />
| </Host>
|
| </Engine>
| </Service>
| </Server>
|
As mentioned previously, my virtual hosts work fine when using 4.0.5.
Thanks,
Tom
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050182#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...