BW Engine Will Not Start due to error "HWKAMI-030504 Announced AMI application COM.TIBCO.ADAPTER.bwengine.POLK_TEST.DataCaptureBW.Process Archive did not respond to first heartbeat request. Presumed dead."

BW Engine Will Not Start due to error "HWKAMI-030504 Announced AMI application COM.TIBCO.ADAPTER.bwengine.POLK_TEST.DataCaptureBW.Process Archive did not respond to first heartbeat request. Presumed dead."

book

Article ID: KB0091071

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description:
==========
BW Engine Will Not Start due to error "HWKAMI-030504 Announced AMI application COM.TIBCO.ADAPTER.bwengine.POLK_TEST.DataCaptureBW.Process Archive did not respond to first heartbeat request. Presumed dead."

After running the application from the command line according to the following steps:

*********************
Go to the directory &ltTIBCO_home>\tra\domain\&ltdomain_name>\application\&ltapplication_name> you'll see your deployed BW engine here.
Ex:
test-Process_Archive.sh
test-Process_Archive.tra

Open (Edit) the .sh (or .cmd in windows) file, you'll see the following:
Ex:
"C:/tibco/bw/5.3/bin/bwengine.exe" --run --propFile "C:/tibco/tra/domain/xjiang/application/test/test-Process_Archive.tra"

Modify it as follows:
"C:/tibco/bw/5.3/bin/bwengine.exe" --run --propFile "C:/tibco/tra/domain/&ltdomain_name>/application/test/test-Process_Archive.tra" > "C:/tibco/tra/domain/&ltdomain_name>/application/test/debug.out" 2>&1

Redirect the stdout and stderr to a file called debug.out. Save these changes and run ‘test-Process_Archive.sh’ file in cmd window.
*********

From the log file generated, the following entry is reported:

*********
# A fatal error has been detected by the Java Runtime Environment:
……
*********

Environment:
===========
TIBCO BusinessWorks 5.9.x
TIBCO Runtime Agent (TRA) 5.7.x
Red Hat Enterprise Linux 4.x, 5.x (Linux distributions that are materially equivalent to the supported Red Hat Enterprise Linux versions).

Cause:
======
The difference of loading order for .jar files in different systems causes this issue.

Resolution:
===========
Prepending the specific classpath of the tibrvj.jar (&ltRV_HOME>/lib/tibrvj.jar) into CUSTOM_EXT_PREPEND_CP of bwengine.tra and BW application's .tra file can resolve this issue.

Issue/Introduction

BW Engine Will Not Start due to error "HWKAMI-030504 Announced AMI application COM.TIBCO.ADAPTER.bwengine.POLK_TEST.DataCaptureBW.Process Archive did not respond to first heartbeat request. Presumed dead."