ERROR: Rulebase name cannot contain character:

ERROR: Rulebase name cannot contain character:

book

Article ID: KB0082335

calendar_today

Updated On:

Products Versions
TIBCO Hawk -

Description

When trying to create a rulebase or MAR file, the following error is thrown.
-----------------------------------------
mar cvf C:\tibco\hawk\5.1\bin\ERP_BW_Service_Monitor-awseaiuat1-BW_Service_Monitor_ERP.hrb.mar C:\tibco\hawk\5.1\bin

INFO: Mar File: C:\tibco\hawk\5.1\bin\ERP_BW_Service_Monitor-ERP_HCM_KronosPlugin-awseaiuat1-BW_Service_Monitor_ERP_HCM_KronosPlugin.hrb.mar
INFO: Command: CREATE
INFO: Input Rulebase[0]: C:\tibco\hawk\5.1\bin
INFO: Processing file: C:\tibco\hawk\5.1\bin\ERP_BW_Service_Monitor-ERP_HCM_KronosPlugin-awseaiuat1-BW_Service_Monitor_ERP_HCM_KronosPlugin.hrb
INFO: Processing file: C:\tibco\hawk\5.1\bin\ERP_BW_Service_Monitor-ERP_HCM_KronosPlugin-AWSEAIUAT2-BW_Service_Monitor_ERP_HCM_KronosPlugin-1.hrb
INFO: Create new mar file: C:\tibco\hawk\5.1\bin\ERP_BW_Service_Monitor-ERP_HCM_KronosPlugin-awseaiuat1-BW_Service_Monitor_ERP_HCM_KronosPlugin.hrb.mar
ERROR: Rulebase name cannot contain character: .
------------------------------------

Issue/Introduction

ERROR-Rulebase-name-cannot-contain-character

Environment

ALL

Resolution

A rulebase contains special characters like the following:

<name><![CDATA[ERP_BW_Service_Monitor-ERP_HCM_Plugin-asmet3013.nsw.iot.au-BW.Service.Monitor_ERP.Plugin-1]]></name>

Replace special characters with an underscore[ _ ].

You may get error for characters ~, !, @, #, $, %, ^, &.

Note:
Rulebase name contains special characters is not able to be loaded by hawkgent with the error below in Hawk.log
-----------------------------------------
2018 Mar 20 15:21:38:632 GMT -04:00 HawkAgent.DESKTOP-1RKR647 Error [Application] HWKRBE-041741 Rulebase monitorapplication.test found in inventory but unable to retrieve
-----------------------------------------

Additional Information

ERROR: Rulebase name cannot contain character: . found in inventory but unable to retrieve