Bug 1330585 - The RtFilter load vHostMappingFile but it's content is not processed and used
Summary: The RtFilter load vHostMappingFile but it's content is not processed and used
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Monitoring, CallTime
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1330581
TreeView+ depends on / blocked
 
Reported: 2016-04-26 14:05 UTC by bkramer
Modified: 2022-03-31 04:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description bkramer 2016-04-26 14:05:15 UTC
Description of problem:
The RtFilter load vHostMappingFile but it's content is not processed and used.


Version-Release number of selected component (if applicable):
RHQ 4.12

How reproducible:
Always

Steps to Reproduce:
1. Install and configure RtFilter in JBoss EAP 6 standalone server as per [1].

2. 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>

3. Create vhost-mappings.properties file (in jboss.server.config.dir) with below configuration :

jon.localhost.com = testvirtualserver
test1.example.com = testvirtualserver

4. Restart the JBoss EAP 6 server to reload the new changes.


Actual results:

The RtFilter loads vHostMappingFile but it does not read content of the vhost-mappings.properties file and call time metrics will be logged in the predefined file name.


Expected results:

The RtFilter loads vHostMappingFile, reads it and processes it so that call time metrics are captured in the correct files as defined in the vhost-mappings.properties file [2].


Additional info:


[1] https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Operations_Network/3.3/html/Users_Guide/jboss-rt-seven.html
[2] Table 21.1. Parameters Available for User-Defined <filter> Settings in [1] - vHostMappingFile parameter


Note You need to log in before you can comment on or make changes to this bug.