Exception “TibrvException[error=901,message=Library not found: tibrvj64]” is thrown.

Exception “TibrvException[error=901,message=Library not found: tibrvj64]” is thrown.

book

Article ID: KB0086568

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
============
Unable to start TIBCO BusinessEvents engine as exception “TibrvException[error=901,message=Library not found: tibrvj64]” is thrown.

Environment:
============
TIBCO BusinessEvents 5.1.1
All Operating Systems

Symptoms:
============
The following exception is seen when trying to start the BusinessEvents engine from command line.

2013 Aug 27 12:54:01:713 GMT +2 ODN-ODN Error [main] - [container.standalone] Cannot open TIBCO Rendezvous for use in Hawk MicroAgent.
TibrvException[error=901,message=Library not found: tibrvj64]

Internal exception:
java.lang.UnsatisfiedLinkError: tibrvj64 (A file or directory in the path name does not exist.)
        at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1167)
        at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:1131)
        at java.lang.System.loadLibrary(System.java:528)
        at com.tibco.tibrv.Tibrv.loadLib(Tibrv.java:468)
        at com.tibco.tibrv.Tibrv.open(Tibrv.java:275)
        at com.tibco.cep.container.standalone.hawk.HawkRuleAdministrator.init(SourceFile:245)

The engine can be started from TIBCO Administrator successfully. The BusinessEvents engine had been configured to start up using an AppManage script

Cause:
============
The LD_LIBRARY_PATH or PATH settings have been incorrectly configured. Check in the be-engine.tra file that RV_HOME or HAWK_HOME has not been defined twice or that one of them has not been left empty.

Resolution:
============
Edit the be-engine.tra and change the value from:

LD_LIBRARY_PATH=%RV_HOME%/lib/tibrvj.jar to
LD_LIBRARY_PATH=%RV_HOME%/lib which ensure that all libraries are loaded.

In this particular case, the application was being started using a shell script using the application name (/tra/domain/&ltdomainName>/application/appName/). The script loads the new LD_LIBRARY_PATH value and overwrites the .profile LD_LIBRARY_PATH value. After making the above change, this should resolve the exception being thrown and the engine should start.

Issue/Introduction

Exception “TibrvException[error=901,message=Library not found: tibrvj64]” is thrown.