The RtFilter load vHostMappingFile but it's content is not processed and used
Issue
- The RtFilter load vHostMappingFile but it's content is not processed and used
Environment
- Red Hat JBoss Operations Network (ON) 3.3.5
- Install and configure RtFilter in JBoss EAP 6 standalone server as per 21.5. Configuring Response Time Metrics For JBoss EAP 6/AS 7.
- Then Add following in web application
web.xml:
<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.propertiesfile (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.