Bug 822247
Summary: | Web Application Response Time Log File not being imported | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Douglas Woods <dowoods> | ||||
Component: | Plugin -- JBoss EAP 5 | Assignee: | Thomas Segismont <tsegismo> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | JON 3.1.0 | CC: | ccrouch, fbrychta, jshaughn, loleary, myarboro, tsegismo | ||||
Target Milestone: | ER01 | Keywords: | FutureFeature | ||||
Target Release: | JON 3.2.0 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | Type: | Bug | |||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 782579 | ||||||
Attachments: |
|
We should investigate this to see if we can reproduce, since its described as a regression. This actually is not a regression. We never auto-discovered the location of the RT logfile for webapp context Resources, but it's a legitimate enhancement request. As per 8/20 triage marking as an RFE Fixed in master commit 488e304c2222eeaac300e5efda770531bf2d1a19 Author: Thomas Segismont <tsegismo> Date: Thu Jun 20 10:51:52 2013 +0200 The fix also includes an implementation of the same feature for EAP6 plugin's "Web Runtime" resource type. As this is MODIFIED or ON_QA, setting milestone to ER1. Verified that this works for both, EAP5 and EAP6, but only for default log location. Non-default log location scenario EAP5: 1- follow 'steps to reporoduce' from description above but use optional parameter 'logDirectory'. You can follow https://access.redhat.com/site/documentation/en-US/JBoss_Operations_Network/3.1/html/Admin_Setting_up_Monitoring_Alerts_and_Operations/rt-configuration.html#enabling-rt but use this optional parameter: <init-param> <param-name>logDirectory</param-name> <param-value>/tmp</param-value> </init-param> Result: Response Time Log File field on Web Application Context->Inventory->Connections settings is unset. There is no way to get the RTFilter configuration. Neither with EAP5, nor with EAP6 or Tomcat. So you can't set the logDirectory param to an arbitrary value and expect the agent to discover it. The three plugins will search for the RT log file in the default server log directory and in ${java.io.tmpdir}/rhq/rt |
Created attachment 585049 [details] Screenshot of Response Time Log file property Description of problem: An applications runtime log file is not being imported when the EAP resource is imported into JON. Version-Release number of selected component (if applicable): JON v3.1 EAP v5.1.1 How reproducible: Create an EAP instance and activate response time logging for a web application. There will be a response time log created under the servers log/rt directory. Import the EAP instance and check the application context under Inventory=>Connections settings is not being imported. Under JON v3.0.1 this response time log file is imported with the server import for the same server instance. Steps to Reproduce: 1. Create an EAP instance and activate response time logging for a web appl 2. Import the EAP instance 3. View the Reponse Time Log file property under Inventory=>Connections Secttings for the application context. Actual results: No response time log file is imported with the server. Expected results: Response time log file is imported with the server. Additional info: