[jboss-jira] [JBoss JIRA] Assigned: (JBAS-3918) jbossweb virtual-host processing not working

Emanuel Muckenhuber (JIRA) jira-events at lists.jboss.org
Tue Sep 9 10:56:39 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBAS-3918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emanuel Muckenhuber reassigned JBAS-3918:
-----------------------------------------

    Assignee: Emanuel Muckenhuber  (was: Jean-Frederic Clere)


> jbossweb virtual-host processing not working
> --------------------------------------------
>
>                 Key: JBAS-3918
>                 URL: https://jira.jboss.org/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
>            Assignee: Emanuel Muckenhuber
>             Fix For: JBossAS-5.0.0.CR2
>
>
> 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 at 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list