Bug 1330581 - 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: CLOSED WONTFIX
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Monitoring - CallTime
Version: JON 3.3.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: JON 3.3.9
Assignee: Michael Burman
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 1330585
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-26 14:01 UTC by bkramer
Modified: 2019-10-10 11:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-13 14:56:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1209558 0 unspecified CLOSED RtFilter never load vHostMappingFile from absolute or relative path in EAP 6 2021-02-22 00:41:40 UTC

Internal Links: 1209558

Description bkramer 2016-04-26 14:01:54 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):
JBoss ON 3.3.5

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

Comment 1 Larry O'Leary 2016-04-28 14:43:02 UTC
@bkramer, can you review Bug 1209558 as I think this is the same thing and therefore a regression?

Comment 2 Larry O'Leary 2016-04-28 14:44:24 UTC
In addition to what I requested in comment 1, could you also provide the complete EAP version information? Perhaps that is the difference here compared to Bug 1209558.

Comment 3 bkramer 2016-04-28 15:19:33 UTC
(In reply to Larry O'Leary from comment #1)
> @bkramer, can you review Bug 1209558 as I think this is the same thing and
> therefore a regression?

Larry, that's a good question. 

The title of Bug 1209558 is: RtFilter never load vHostMappingFile from absolute or relative path in EAP 6. 

So, if "load" only means that JBoss ON can find this file then this is a new issue (this is why the title of this Bug is: The RtFilter load vHostMappingFile but it's content is not processed and used). If "load" means that file is found and it's content is used properly - then this Bug is duplicated and we have a regression. 

EAP 6.4.6 was used for test.


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