Description of problem: When RHQ_AGENT_JAVA_EXE_FILE_PATH is specified instead of RHQ_AGENT_JAVA_HOME tools.jar will not be added to classpath in rhq-agent.sh Version-Release number of selected component (if applicable): 3.1.0.GA How reproducible: 100% Steps to Reproduce: 1. set RHQ_AGENT_JAVA_EXE_FILE_PATH=path to jdk6 java executable 2. run rhq-agent.sh Actual results: (agent.log) JDK tools.jar not found on system classpath - cannot discover JVMs using Sun JVM Attach API; to fix this, run the RHQ Agent on a JDK, rather than a JRE. Expected results: launch script should figure out tools.jar from java exec path or don't give user the option Additional info:
per BZ triage ... crouch, loleary, foley
Fixed in master commit e0ff57671c03264969d0870a6ba67efb41f8f218 Author: Thomas Segismont <tsegismo> Date: Mon Jun 24 17:44:33 2013 +0200
As this is MODIFIED or ON_QA, setting milestone to ER1.