JBoss applications are not accessible when bound to a virtual-server

Solution Verified - Updated -

Issue

  • We've configured virtual-servers in JBoss and bound our applications to them. The applications just return 404s now. The virtual-servers contain duplicate aliases, for example:

            <virtual-server name="foo" enable-welcome-root="false">
                <alias name="foo.com"/>
            </virtual-server>
            <virtual-server name="bar" enable-welcome-root="false">
                <alias name="bar.com"/>
            </virtual-server>
            <virtual-server name="foobar" enable-welcome-root="false">
                <alias name="foo.com"/>
                <alias name="bar.com"/>
            </virtual-server>
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 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.