";path; elements are not simple file names" error occurs when loading *.hma files.

";path; elements are not simple file names" error occurs when loading *.hma files.

book

Article ID: KB0090676

calendar_today

Updated On:

Products Versions
TIBCO Hawk -
Not Applicable -

Description

Resolution:
Description:
============
When Hawk agent loads *.hma files, "<path> elements are not simple file names" error occurs in Hawk.log and the *.hma can not be loaded.

Environment:
===========
Hawk 4.9.0.

Cause:
=====
The Hawk agent parsed the *.hma files in plugin folder together. If the <path> element in whichever .hma file is wrong, it will affect other .hma files.

Resolution:
==============
Modify your .hma files in your plugin folder like the following:
==============
<classpath>
        <path>JMXServiceMA.jar</path>
        <path>TIBCrypt.jar</path>
</classpath>
==============

If using absolute paths, remove the path information and only leave the JAR file names. Copy the JAR files into the same folder (plugin folder) as your .hma files. The JAR files can be loaded automatically in this way.

Issue/Introduction

";path; elements are not simple file names" error occurs when loading *.hma files.