TibrvException[error=901,message=Library not found: tibrvj] occurred while executing the TIBCO Rendezvous Java samples even though the environmental variables, such as PATH and CLASSPATH, are set correctly.

TibrvException[error=901,message=Library not found: tibrvj] occurred while executing the TIBCO Rendezvous Java samples even though the environmental variables, such as PATH and CLASSPATH, are set correctly.

book

Article ID: KB0090078

calendar_today

Updated On:

Products Versions
TIBCO Rendezvous -
Not Applicable -

Description

Resolution:
The following exception occurred while executing the TIBCO Rendezvous Java samples even though the environmental variables, such as PATH and CLASSPATH, are set correctly.

Failed to open Tibrv in native implementation:


TibrvException[error=901,message=Library not found: tibrvj]
       at com.tibco.tibrv.Tibrv.loadLib(Tibrv.java:449)
       at com.tibco.tibrv.Tibrv.open(Tibrv.java:252)
       at tibrvlisten.<init>(tibrvlisten.java:70)
       at tibrvlisten.main(tibrvlisten.java:179)
Internal exception:
java.lang.UnsatisfiedLinkError:
C:\tibco\products\tibrv\8.2\bin\tibrvj.dll: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

This error occurs while running a Java sample or any RV application that uses the RV Java libraries. At the end of product installation, the RV Installer is supposed to installthe  Microsoft Visual C++ re-distributable. However, if this VC++ re-distributable has not been installed properly, then this exception is thrown. Install the Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) from the following link and reboot the machine:

http://www.microsoft.com/downloads/info.aspx?na=90&p=&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=200b2fd9-ae1a-4a14-984d-389c36f85647&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2fe%2f1%2fc%2fe1c773de-73ba-494a-a5ba-f24906ecf088%2fvcredist_x86.exe

Issue/Introduction

TibrvException[error=901,message=Library not found: tibrvj] occurred while executing the TIBCO Rendezvous Java samples even though the environmental variables, such as PATH and CLASSPATH, are set correctly.