Bug 1022989 - Unable to start JON/RHQ agent on windows due error in rhq_agent.bat
Summary: Unable to start JON/RHQ agent on windows due error in rhq_agent.bat
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Agent
Version: JON 3.2
Hardware: Unspecified
OS: Windows
unspecified
urgent
Target Milestone: ER05
: JON 3.2.0
Assignee: Jay Shaughnessy
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 1012435
TreeView+ depends on / blocked
 
Reported: 2013-10-24 12:15 UTC by Radim Hatlapatka
Modified: 2014-01-02 20:37 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-02 20:37:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Radim Hatlapatka 2013-10-24 12:15:54 UTC
Description of problem:
in the command [1] it should start with path java.exe => RHQ_JAVA_EXE_FILE_PATH and not RHQ_AGENT_EXE_FILE_PATH which is undefined.

[1]
set CMD="%RHQ_AGENT_EXE_FILE_PATH%" %_JAVA_ENDORSED_DIRS_OPT% %_JAVA_LIBRARY_PATH_OPT% %RHQ_AGENT_JAVA_OPTS% %RHQ_AGENT_ADDITIONAL_JAVA_OPTS% %_LOG_CONFIG% -cp "%CLASSPATH%" %RHQ_AGENT_MAINCLASS% %RHQ_AGENT_CMDLINE_OPTS%



Version-Release number of selected component (if applicable):
JON 3.2.0.ER4

How reproducible: always


Steps to Reproduce:
1. try to start rhq-agent using rhq-agent.bat


Actual results: error, that '""' is not recognized as an internal or external command


Expected results:
started rhq-agent

Additional info:

Comment 1 Jay Shaughnessy 2013-10-28 14:02:39 UTC
master commit 9d0306553f32bb0ce5c51ebb31ffb962abfca2c3
Author: Jay Shaughnessy <jshaughn>
Date:   Mon Oct 28 10:01:09 2013 -0400

    Fix agent bat script and similar issue in cli bat script

Comment 2 Jay Shaughnessy 2013-10-28 14:05:23 UTC
release/jon3.2.x commit 583e8cd1f9bc75211e2d5a339e34a2a02d7b49cc
Author: Jay Shaughnessy <jshaughn>
Date:   Mon Oct 28 10:03:58 2013 -0400

    Fix agent bat script and similar issue in cli bat script

    Cherry-pick master: 93cbc9c4426363db4d63b4270ba49ba20f7ebe16

Comment 3 Simeon Pinder 2013-11-07 02:18:30 UTC
Moving to ON_QA for test with new brew build.

Comment 4 Radim Hatlapatka 2013-11-07 09:36:57 UTC
Verified with JON 3.2.0.ER5


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