New installation of MDM and server start throws error SEC-5501: Cannot authenticate credentials with user name GLOBAL, domain ZZ

New installation of MDM and server start throws error SEC-5501: Cannot authenticate credentials with user name GLOBAL, domain ZZ

book

Article ID: KB0070671

calendar_today

Updated On:

Products Versions
TIBCO MDM 9.1.0/9.1.2

Description

During the fresh installation of MDM, when we deploy the ECM.ear and start the server, it throws error 
CFG-6011: Error while reading in FileWatcher config file = C:\TIBCO912\mdm\9.1\config\FileWatcher.xml
Cannot authenticate credentials with user name GLOBAL, domain ZZ
Code: JAV-8013: Class com.tibco.mdm.integration.messaging.FileWatcher initialization failed. Verify installation configuration. Property file and properties used are: <PropertyManager: BEGIN&gt

This is because by default the FileWatcher.xml with MDM installation comes with below dataset but the user name GLOBAL, domain ZZ is not present in the MDM database.
<DataSet type="single">
            <Name>Purge</Name>
            <Credential domain="ZZ">
                <Identity>GLOBAL</Identity>
            </Credential>
            <Action>Purge</Action>
            <RetentionUOM>MONTH</RetentionUOM>
            <RetentionUnits>6</RetentionUnits>
            <URIInfo scheme="local">
                <Relative>MQ_COMMON_DIR</Relative>
                <URI>/Work/purge</URI>
            </URIInfo>
        </DataSet>

Issue/Introduction

When we first install MDM, deploy the ear in application server and start the server, it throws error SEC-5501: Cannot authenticate credentials with user name GLOBAL, domain ZZ

Environment

OS: Linux, Windows

Resolution

The solution for this is comment out the DataSet in FileWatcher.xml file located at %TIBCO_HOME%\config and restart the server. Sample attached.