Repository Exception : OperationFailedException Local repository file must have .dat extension

Repository Exception : OperationFailedException Local repository file must have .dat extension

book

Article ID: KB0073085

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Adapter for Websphere MQ 6.2.5

Description

While executing admqs file with command 'tibco@vm00005504:/appl/tib/tibco/adapter/admqs/6.2/bin$ ./admqs', if we might face below error:

Startup Error. Code = AESDKC-0048, Category = Database, Severity = errorRole, Description = Repository Exception : OperationFailedException
Local repository file must have .dat extension., File = S/MRepositoryConnection.cpp, line = 93 received on starting the adapter after initialization. The Repository URL is <repo url> and the Configuration URL is/tibco/private/adapter/WebSphereMQAdapterConfiguration

 

Issue/Introduction

While executing admqs file with command 'tibco@vm00005504:/appl/tib/tibco/adapter/admqs/6.2/bin$ ./admqs', if we might face below error: Startup Error. Code = AESDKC-0048, Category = Database, Severity = errorRole, Description = Repository Exception : OperationFailedException Local repository file must have .dat extension., File = S/MRepositoryConnection.cpp, line = 93 received on starting the adapter after initialization. The Repository URL is and the Configuration URL is/tibco/private/adapter/WebSphereMQAdapterConfiguration

Environment

All Environment

Resolution

Please note that this issue is due to not setting the correct project repository (tibco.repourl) in your admqs.tra file, you can provide the project repository (tibco.repourl) in your admqs.tra file, for example: tibco.repourl /ADMQ_Home/examples/Test01/adapterpublisher.dat. This .dat file is exported by TIBCO Designer. 

Please kindly refer to the “MQ Adapter document-Configuration and Deployment-Getting Started-Starting the Adapter-Starting the Adapter from the Command Line with a Properties File” for more information about how to start Adapter from the command line.