Bug 1027339

Summary: rhqctl status doesn't report correct PIDs for server and the underlying JVM
Product: [JBoss] JBoss Operations Network Reporter: Lukas Krejci <lkrejci>
Component: Launch ScriptsAssignee: Michael Burman <miburman>
Status: CLOSED CURRENTRELEASE QA Contact: Filip Brychta <fbrychta>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: ahovsepy, fbrychta, hrupp, miburman
Target Milestone: DR01   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 14:02:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukas Krejci 2013-11-06 15:28:20 UTC
Description of problem:
rhqctl status (--server) is supposed to give me the PID of the script that started the server (on a line called "RHQ Server") and the PID of the JBossAS process that it starts (on a line called "JBossAS Java VM child process").

These two lines report the same PID.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. start JON server
2. run  "rhqctl status"

Actual results:
the PIDs of the script and the AS JVM are the same

Expected results:
the PIDs are different and therefore should be reported correctly

Additional info:
Note that this most probably is not a regression from previous releases, because the "rhq-server.sh" script (now located in bin/internal) reports the same result.

Comment 2 Michael Burman 2014-07-03 22:19:08 UTC
The rhq-server.sh was printing the SERVER_PID instead of JVM_PID. Fixed in commit 8983596

Comment 3 Michael Burman 2014-07-04 08:07:29 UTC
Commit is in the master.

Comment 4 Simeon Pinder 2014-07-31 15:51:39 UTC
Moving to ON_QA as available to test with brew build of DR01: https://brewweb.devel.redhat.com//buildinfo?buildID=373993

Comment 5 Filip Brychta 2014-08-05 13:11:31 UTC
Verified on
Version :	
3.3.0.DR01
Build Number :	
6468454:dda0a47