hawkagent cannot start if there is space in the config file path
book
Article ID: KB0082679
calendar_today
Updated On:
Description
On Windows, the default config directory for Hawk is C:\ProgramData\TIBCO_HOME\tibco\cfgmgmt\hawk . If a customer changes the default config directory to the path including a space, for example:C:\Program Files\TIBCO_HOMEHK60\tibco\cfgmgmt\hawk, then hawkagent starts with an error.
========================================
C:\Program Files\TIBCO_HOMEHK60\tibco\cfgmgmt\hawk\bin>tibhawkagent.exe
Mon Oct 09 15:47:26 EDT 2017 Starting Hawk Agent (pid: 9268)...
Only one -file value may be specified.
Mon Oct 09 15:47:26 EDT 2017 Stopping Hawk Agent, (pid: 9268)...
INFO : Agent gracefully shutting down - Hawk Agent Name:[null] PID:[9268] ## Mon Oct 09 15:47:26 EDT 2017 ##
=========================================
Issue/Introduction
hawkagent cannot start if there is space in the config file path
Resolution
Cause: hawkagent cannot resolve the path for config file with a space.
Resolution: Add double quotes for the path of the config file in the .tra file of the hawkagent.
Example:
application.args -file "C:/Program Files/TIBCO_HOMEHK60/tibco/cfgmgmt/hawk/bin/hawkagent.cfg"
Additional Information
Only one -file value may be specified
Feedback
thumb_up
Yes
thumb_down
No