The RtFilter load vHostMappingFile but it's content is not processed and used

Solution Unverified - Updated -

Issue

  • The RtFilter load vHostMappingFile but it's content is not processed and used

Environment

<filter>
    <filter-name>RhqRtFilter</filter-name>
    <filter-class>org.rhq.helpers.rtfilter.filter.RtFilter</filter-class>
    <init-param>
        <param-name>vHostMappingFile</param-name>
        <param-value>vhost-mappings.properties</param-value>
    </init-param> 
</filter>
  • Create vhost-mappings.properties file (in jboss.server.config.dir) with below configuration :
jon.localhost.com = testvirtualserver
test1.example.com = testvirtualserver
  • Restart the JBoss EAP 6 server to reload the new changes.

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.