The EMS 4.1.0 Hawk microagent is unable to invoke/subscribe to methods. It may throw the exception: ERROR: COM.TIBCO.hawk.talon.MicroAgentException

The EMS 4.1.0 Hawk microagent is unable to invoke/subscribe to methods. It may throw the exception: ERROR: COM.TIBCO.hawk.talon.MicroAgentException

book

Article ID: KB0087697

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Description:
Symptoms
========

The microagent is successfully loaded, but when Invoking a method, nothing happens, or when subscribing to that method, the following error is printed:

ERROR: COM.TIBCO.hawk.talon.MicroAgentException

Impact
======

Loss of functionality


Workaround
==========

See resolution


Cause
=====

Since TIBCO EMS 4.1.0, our jar files depend on additional jar files: jaxp.jar and crimson.jar that are included in our jms\clients\java directory. These jar files need to be specified in the classpath if you are using JRE 1.3. If you are using JRE 1.4+, there is no need because these two jar files are part of the JRE 1.4 package.


Resolution
=========

If you are using JRE 1.3, change the tibjmsadmin.hma file so that the classpath includes jaxp.jar (crimson.jar should already be part of Hawk installation):

&ltclasspath>
      &ltpath&gtjaxp.jar</path>
      &ltpath&gttibjmsadmin.jar</path>
      &ltpath&gttibjms.jar</path>
      &ltpath&gtjms.jar</path>
</classpath>

Notice that if you do not use fully qualified filename, you will need to copy the jar file to the plugin directory.

If you chose to use JRE 1.4, you will not have this problem. You can change the Java Home Directory in Hawk Configuration to point to a JRE 1.4 installation.


Symptoms:

Cause:

Issue/Introduction

The EMS 4.1.0 Hawk microagent is unable to invoke/subscribe to methods. It may throw the exception: ERROR: COM.TIBCO.hawk.talon.MicroAgentException