JBoss EAP virtual-servers with same alias names

Solution Unverified - Updated -

Issue

We have 2 virtual-servers with the same alias trying to use the root context. It appears that the proxy (mod_cluster) is only registering 1 of the virtual servers and may it be a "first-come-first-server" condition as to which virtual-server gets registered to the proxy and gets the root context.

<subsystem xmlns="urn:jboss:domain:web:2.1" default-virtual-server="default-host" native="false">
    <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
    <virtual-server name="default-host" enable-welcome-root="true">
        <alias name="example.com"/>
    </virtual-server>
    <virtual-server name="default-host2" enable-welcome-root="true">
        <alias name="example.com"/>
    </virtual-server>
</subsystem>

Environment

  • Red Hat JBoss Enterprise Application Platform 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.