Bug 795500 - Tomcat plugin: discovery component does not discover Tomcat java processes running as users other than the RHQ Agent user
Summary: Tomcat plugin: discovery component does not discover Tomcat java processes ru...
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-20 17:55 UTC by Ian Springer
Modified: 2024-03-04 13:35 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description Ian Springer 2012-02-20 17:55:32 UTC
Here's the code that prevents discovery:

        if (null == processInfo.getExecutable()) {
            log.debug("Ignoring Tomcat instance (agent may not be owner) with following command line: "
                + Arrays.toString(commandLine));
            return null;
        }

I think we can figure out another way to get the information provided by processInfo.getExecutable() and any other protected process info we currently rely on.

Comment 1 Mike Foley 2012-02-27 17:13:06 UTC
triage 2/27/2012 mfoley, asantos, crouch, loleary


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