Bug 795500

Summary: Tomcat plugin: discovery component does not discover Tomcat java processes running as users other than the RHQ Agent user
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: PluginsAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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