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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content