]
Dimitris Andreadis updated JBAS-3918:
-------------------------------------
Fix Version/s: JBossAS-5.0.0.CR1
(was: JBossAS-5.0.0.Beta4)
Unresolved issues to CR1.
jbossweb virtual-host processing not working
--------------------------------------------
Key: JBAS-3918
URL:
http://jira.jboss.com/jira/browse/JBAS-3918
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web (Tomcat) service
Affects Versions: JBossAS-5.0.0.Beta1
Reporter: Scott M Stark
Assigned To: Jean-Frederic Clere
Fix For: JBossAS-5.0.0.CR1
Add a Host entry to the deployers/jbossweb.deployer/server.xml as described in the 4.0.x
section of:
http://wiki.jboss.org/wiki/Wiki.jsp?page=VirtualHosts
for example:
<Host name="succubus-vhost"
autoDeploy="false" deployOnStartup="false"
deployXML="false">
<Valve className="org.apache.catalina.valves.AccessLogValve"
prefix="succubus-vhost" suffix=".log"
pattern="common"
directory="${jboss.server.home.dir}/log"/>
</Host>
add a virtual-host entry to the jmx-console.war/WEB-INF/jboss-web.xml:
<jboss-web>
<virtual-host>succubus-vhost</virtual-host>
</jboss-web>
and try to access the jmx-console using succubus-vhost:
[starksm@succubus Security]$ wget
http://succubus-vhost:8080/jmx-console/index.jsp
--08:21:41--
http://succubus-vhost:8080/jmx-console/index.jsp
=> `index.jsp'
Resolving succubus-vhost... 192.168.10.10
Connecting to succubus-vhost|192.168.10.10|:8080... connected.
HTTP request sent, awaiting response... 400 No Host matches server name succubus-vhost
08:21:41 ERROR 400: No Host matches server name succubus-vhost.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: