TIBCO ActiveMatrix BusinessWorks(TM) Application fails with BWENGINE-100037 Repository not found: /opt/tibco/tra/domain/;DomainName;/datafiles/;APP_NAME;_root

TIBCO ActiveMatrix BusinessWorks(TM) Application fails with BWENGINE-100037 Repository not found: /opt/tibco/tra/domain/;DomainName;/datafiles/;APP_NAME;_root

book

Article ID: KB0090407

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
BW application fails to start in deployed mode when running from TIBCO Administrator or command line.

Symptoms:
TIBCO ActiveMatrix BusinessWorks(TM) Application while start fails with error message :

===========================.
YYYY Mon DD hh:mm:ss:hhh GMT BW.<APPName>-Process_Archive Error [BW-Core] BWENGINE-100037 Repository not found: /opt/tibco/tra/domain/<DomainNam/datafiles/<ApplicationName>_root
Repository not found: /opt/tibco/tra/domain/<DomainName>/datafiles/<ApplicationName>_root
    at com.tibco.pe.core.RepoLoader.<init>(RepoLoader.java:114)
    at com.tibco.pe.PEMain.do(PEMain.java:332)
    at com.tibco.pe.PEMain.a(PEMain.java:197)
    at com.tibco.pe.PEMain.<init>(PEMain.java:184)
    at com.tibco.pe.PEMain.main(PEMain.java:122)
============================.
Cause:
This happens due to loading of the RV client libraries in incorrect order.

Issue/Introduction

TIBCO ActiveMatrix BusinessWorks(TM) Application fails with BWENGINE-100037 Repository not found: /opt/tibco/tra/domain/;DomainName;/datafiles/;APP_NAME;_root

Resolution

1). Make a backup of engine tra and application tra files. Edit both tra file and add '%RV_HOME%/lib/tibrvj.jar%PSP%' entry in the beginning of 'tibco.env.STD_EXT_CP' property.

2). Add  %RV_HOME%/lib%PSP%%RV_HOME%/lib/64% to the very beginning of the property "tibco.env.LD_LIBRARY_PATH", “tibco.env.SHLIB_PATH” and “tibco.env.LIBPATH”.

3). Restart the application.