Bug 688800 (JBPAPP-6128) - [JBPAPP-6128] JON 2.4.1 + EWS 1.0.2-CR1 on Windows: Tomcat 5/6 not displayed in RHQ web UI
Summary: [JBPAPP-6128] JON 2.4.1 + EWS 1.0.2-CR1 on Windows: Tomcat 5/6 not displayed...
Alias: JBPAPP-6128
Product: RHQ Project
Classification: Other
Component: Communications Subsystem
Version: 3.0.0
Hardware: Unspecified
OS: Windows
medium vote
Target Milestone: ---
: JON 3.0.0,RHQ 4.3.0
Assignee: Lukas Krejci
QA Contact: Mike Foley
Depends On:
Blocks: ews1.0.2 jon30-sprint9 jon3
TreeView+ depends on / blocked
Reported: 2011-03-18 04:06 UTC by Ondřej Žižka
Modified: 2012-02-07 19:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-02-07 19:18:15 UTC

Attachments (Terms of Use)

Description Ondřej Žižka 2011-03-18 04:06:35 UTC

1) Install EWS
2) Install Tomcats as services, start one of them
3) RHQ agent -> discovery -f - says Tomcat was found
4) Check RHQ web - not displayed. It's not ignored. Httpd or IIS were discovered.

Tomcat.Tomcat Server: Starting discovery...
Tomcat.Tomcat Server: Process scan detected a server - scan=[ProcessScan: query=[process|basename|match=^tomcat(5|6)\.exe], name=[WindowsEWSTomcat]], process=[p
rocess: pid=[4732], name=[C:\Program Files\Red Hat\Enterprise Web Server\sbin\tomcat5.exe], ppid=[620]]
Tomcat.Tomcat Server: Done.

Comment 1 Lukas Krejci 2011-11-18 10:45:54 UTC
This is similar to bug 580931 but still reproducible w/ RHQ 4.3.0-SNAPSHOT and EWS 1.0.2 installed on Win XP.

Comment 2 Lukas Krejci 2011-11-18 11:46:59 UTC
commit 8088a9788c62d903630182a8038f6ec1b849d603
Author: Lukas Krejci <lkrejci@redhat.com>
Date:   Fri Nov 18 12:43:46 2011 +0100

    [BZ 688800] - More robust detection of EWS tomcat installation dirs.

Comment 3 Lukas Krejci 2011-11-18 11:47:30 UTC
commit 8088a9788c62d903630182a8038f6ec1b849d603 is in the master branch only.

Comment 4 Lukas Krejci 2011-11-18 11:52:38 UTC
To test this, please make sure that both tomcat 5 and 6 are discovered when started as Windows services and that the RHQ resource is fully functional when inventoried (configuration works, operations can be executed, etc.)

Comment 5 Stefan Negrea 2011-11-23 16:24:54 UTC
Code-reviewed the change committed to master. The change is good, no updates necessary.

Comment 6 Libor Zoubek 2011-11-23 16:47:12 UTC
Tomcat 5/6 is successfully detected by agent, appear in Discovery queue and
can be inventoried. Invoking operations work, however there is a new bug
related https://bugzilla.redhat.com/show_bug.cgi?id=756456

Comment 7 Charles Crouch 2011-11-28 20:06:53 UTC
Pushing to ON_DEV so change can be cherry-picked to release

Comment 8 John Mazzitelli 2011-11-28 21:25:11 UTC
git commit to release_jon3.x branch: f3ba0a0

Comment 9 Mike Foley 2012-02-07 19:18:15 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE

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