Configuration of TIBCO Hawk ActiveMatrix Plug-in 1.2.0 in TIBCO ActiveMatrix 3.2.0 environment may fail under certain circumstances.

Configuration of TIBCO Hawk ActiveMatrix Plug-in 1.2.0 in TIBCO ActiveMatrix 3.2.0 environment may fail under certain circumstances.

book

Article ID: KB0090397

calendar_today

Updated On:

Products Versions
TIBCO Hawk -
Not Applicable -

Description

Resolution:
Description:
============
In the current design of TIBCO Hawk ActiveMatrix Plug-in (HKAM) 1.2.0, it will load TIBCO ActiveMatrix(AMX) 3.2.0 environment configuration from ${tct.scripts.dir}/tmp, which may be removed in one of the following circumstances.

a). TIBCO ActiveMatrix Administrator Server is created by manually executing ant scripts generated by a previous TCT session.

b). Replicate a TIBCO ActiveMatrix Administrator Server by running TCT or executing ant scripts generated by a previous TCT session.

c). TIBCO Host Instance is created by manually executing ant scripts generated by a previous TCT session.

Environment:
===========

     Operating System : ALL Supported Opration Systems
     Products:
        TIBCO Hawk ActiveMatrix(R) Plug-in 1.2.0
        TIBCO ActiveMatrix(R) Service Grid 3.2.0
        TIBCO ActiveMatrix(R) Service Bus 3.2.0

Symptoms:
========
Executing autoconfigure-amx-hrb.xml will fail with the error below. The tmp folder can not be found under ${tct.scripts.dir}.


BUILD FAILED

C:\tibco-hawk49\hkam\1.2\samples\rulebases\autoconfigure-amx-hrb.xml:19: The following error occurred while executing this line:
C:\tibco-hawk49\hkam\1.2\samples\rulebases\extract_amx_properties.xml:136: Unable to validate property tct.instance.install.dir

Cause:
=====
At the last phase of an end to end process to create AMX runtime objects (TIBCO ActiveMatrix Administrator Server, TIBCO Host, etc.), a "-clean-up" ant task would be triggered to remove the tmp directory. This is an integration defect that will be resolved in a future version.

Resolution:
==========

If one environment is built from scratch:

  

For circumstances a and c, (1) navigate to saved ${tct.scripts.dir}, open build.xml and remove "-clean-up" from depends of the default target ("end-to-end"); (2) Execute 'ant –f build.xml.
For circumstance b, (1) start TCT and fill in fields as usual; at the last step, click "Save" instead of "Configure", exit TCT; (2) navigate to saved ${tct.scripts.dir}, open build.xml and remove "-clean-up" from depends of the default target ("replicate"); (3) Execute 'ant –f build.xml.

If the problem is identified after successful creation of AMX runtime objects:


The tmp folder needs to be recreated before proceeding. For all three circumstances, (1) navigate to saved ${tct.scripts.dir}, open build.xml and change default target into "-init". (2) execute 'ant –f build.xml and after successful execution, tmp folder is recreated; (3) restore default target of build.xml.

References:
==========
NOTE: Ant needs to be configured as per the AMX documentation, "Installation and Configuration--> Installation Requirements and Pre-Installation Tasks --> Pre-installation Tasks".

Issue/Introduction

Configuration of TIBCO Hawk ActiveMatrix Plug-in 1.2.0 in TIBCO ActiveMatrix 3.2.0 environment may fail under certain circumstances.