Red Hat Bugzilla – Bug 1027339
rhqctl status doesn't report correct PIDs for server and the underlying JVM
Last modified: 2014-12-11 09:02:26 EST
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):
Steps to Reproduce:
1. start JON server
2. run "rhqctl status"
the PIDs of the script and the AS JVM are the same
the PIDs are different and therefore should be reported correctly
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.
The rhq-server.sh was printing the SERVER_PID instead of JVM_PID. Fixed in commit 8983596
Commit is in the master.
Moving to ON_QA as available to test with brew build of DR01: https://brewweb.devel.redhat.com//buildinfo?buildID=373993
Build Number :