Execute the following steps to run tibhawkagent as a Windows service.
1). Add the following NT services parameters to "tibco_home/afx/1.3/bin/tibhawkagent.tra" . Add the NT service parameters to the tibhawkagent.tra and renamed the ntservice.name and ntservice.displayname .
# NT Service Parameters ntservice.name=TIBHawkAgent_test ntservice.displayname=TIBCO Hawk Agent test ntservice.starttype=automatic ntservice.binary.path.absolute=C:/tibco_home/afx/1.3/bin/tibhawkagent.exe ntservice.interactive=true
Note that the ntservice.binary.path.absolute should be an absolute path.
2). Specify the application.args to th eabsolute path in C:/tibco_home/afx/1.3/bin/tibhawkagent.tra.
# Specifies the remaining arguments to pass into the application. #application.args -file tibhawkagent.cfg (this is default one)