Where to declare “processID.file.name”?

Where to declare “processID.file.name”?

book

Article ID: KB0094728

calendar_today

Updated On:

Products Versions
TIBCO Runtime Agent (TRA) All

Description

Add the property to the domain’s hawkagent_<domain_name>.tra file under <tibco_home>/tra/domain/<domain_name>. It is likely that the hawkagent_<domain_name>.tra file does not contain the property "processID.file.name". In order to kill a TIBCO process that uses the TIBCO wrapper, the process .tra file must include the property “processID.file.name” so that the command will open the .tra file, fetch the process ID and kill the target process.

Environment

All

Resolution

Here is how to add "processID.file.name" to the process .tra file:
  processID.file.name=%tra.file.dir%/.pid

Issue/Introduction

Message “Process can not be killed because its TRA file does not define "processID.file.name" property” displayed when executing the following command to kill a hawkagent process for a domain: ./hawkagent_ --kill