Bug 563705

Summary: Apache plugin detects non-existent httpd instance on Windows
Product: [Other] RHQ Project Reporter: Ondřej Žižka <ozizka>
Component: PluginsAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 1.3CC: fdrabek
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-22 10:58:10 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: 565628, 577313    

Description Ondřej Žižka 2010-02-10 22:08:08 UTC
Versions:
=========

JON 2.3.0.GA
Windows 2003 x32

Steps to Reproduce:
===================

I've installed JON agent on Windows, and it discovered a HTTPD instance which does not exist:
 - The reported directory does not exist - c:\apache
 - This path is nowhere in registry
 - No such service exists
 - Neither have I found it in agent config XML

So I wonder where did it get this instance from. Does it come from some defaults?

Agent's `avail` reports it as: DOWN:   JAWA14 Apache 2.2.10 (C:\apache\)
In JON, it is also reported as down, with this message (stack trace attached):

Failed to start component for resource Resource[id=10242, type=Apache HTTP Server, key=C:\work\EWS\Enterprise Web Server, name=JAWA14 Apache 2.2.14 (C:\work\EWS\Enterprise Web Server\), parent=jawa14, version=2.2.14].

Comment 1 Ondřej Žižka 2010-02-10 22:12:48 UTC
Now when I clicked on connection properties, I see that 

"Executable Path" == C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin\httpd.exe

"Server Root" == C:\apache

However, this directory also does not contain "C:\apache" in any config file.

Comment 2 Ondřej Žižka 2010-02-10 22:18:12 UTC
For anyone willing to check, it's on jawa14 (ask someone from JBoss QA for the password):

LANG=en rdesktop -u Administrator jawa14.englab.brq.redhat.com

Comment 3 wes hayutin 2010-02-16 16:52:07 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 4 wes hayutin 2010-02-16 16:58:05 UTC
making sure we're not missing any bugs in rhq_triage

Comment 5 Filip Drabek 2010-04-22 10:58:10 UTC

*** This bug has been marked as a duplicate of bug 534866 ***