Error: stores-db.conf does not exist exception in EMS 5.x.x .

Error: stores-db.conf does not exist exception in EMS 5.x.x .

book

Article ID: KB0093408

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Description:

EMS Schema Export tool unable to parse a stores file correctly. It fails when there are quotation marks on  a “stores” entry content in the tibemsd.conf file.


Symptoms:

Cause:

EMS 5.x.x will automatically add quotation marks in the “Configuration files” section in the tibemsd.conf file. This means that the EMS Schema Export tool cannot parse the stores file correctly and cannot work correctly on EMS 5.0 when there are quotation marks on a “stores” entry in tibemsd.conf.

Example:

>> Export command:

java -jar C:\tibco\ems\5.1\bin\tibemsd_util.jar -tibemsdconf C:\tibco\cfgmgmt\ems\data\tibemsd.conf -export -store $db.persist=create

The configuration in the tibemsd.conf file follows:

stores = "C:/tibco/cfgmgmt/ems/data/stores.conf"

The following exception is reported but works when removing the quotation marks.

>> "ERROR: stores file 'stores.conf"' does not exist at com.tibco.tibems.tibemsd.internal.db.util.EMSSchemaExport.parseStoresConf(EMSSchemaExport.java:429)">>

Issue/Introduction

Error: stores-db.conf does not exist exception in EMS 5.x.x .

Resolution

Remove quotation marks for stores.conf file.

Additional Information

Defect EMS-2632 have been raised for the same which is fixed in version EMS 8.0.1.