Hawk.log has the following error messages. "WARNING : A process is blocking, killing it,WARNING: The process cmd.exe timed out. It was terminated. ERROR : java.io.IOException: Timed out waiting for output from process."

Hawk.log has the following error messages. "WARNING : A process is blocking, killing it,WARNING: The process cmd.exe timed out. It was terminated. ERROR : java.io.IOException: Timed out waiting for output from process."

book

Article ID: KB0094586

calendar_today

Updated On:

Products Versions
TIBCO Hawk -
Not Applicable -

Description

Resolution:
The error messages are caused when the executeForString() or executeForNumber() is waiting for the return result from the scripts. They block the Hawk agent from taking further action while the script is running. If the script does not return in ten seconds, the agent terminates script execution. As a workaround, either update the script to return quickly or you can use a custom executable to run the process in the background and pipe the result to a log file. Then write another rulebase to monitor the log file.

Issue/Introduction

Hawk.log has the following error messages. "WARNING : A process is blocking, killing it,WARNING: The process cmd.exe timed out. It was terminated. ERROR : java.io.IOException: Timed out waiting for output from process."