Bug 799532
Summary: | JMX plugin discovery causes Java processes to output stack traces | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Elias Ross <genman> |
Component: | Plugin Container | Assignee: | Viet Nguyen <vnguyen> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.3 | CC: | hrupp, vnguyen |
Target Milestone: | --- | ||
Target Release: | JON 3.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 4.4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-03 15:14:33 UTC | Type: | --- |
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 |
Description
Elias Ross
2012-03-02 21:52:56 UTC
per triage (crouch, loleary, foley). JON 3.1 timeframe. assign to ips. Fixed in master: http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=1c1e9b9 It turns out the Java attach API can only discover java processes running as the same user. When running as root, it will send a SIGQUIT as part of an attempt to attach to a java process running as another user, but it ultimately fails to attach anyway. So I've updated the JMX Server discovery code so it no longer even tries to attach to java processes running as users other than the user the Agent is running as. Ran agent as root and was able to add non-root jmx processes. will verify with brew build. JON 3.0.1.GA agent 4.2.0.JON.3.0.1.GA verified in 3.1.0.GA -agent can discover any jmx enabled processes owned by others -agent only discover same owner processes with -Dorg.rhq.resourceKey see also https://bugzilla.redhat.com/show_bug.cgi?id=819116 Bulk closing of old issues in VERIFIED state. |