The error "java.lang.UnsatisfiedLinkError" is displayed when starting the EMS 5.1.2 server configured with the Oracle OCI driver with Oracle RAC database.

The error "java.lang.UnsatisfiedLinkError" is displayed when starting the EMS 5.1.2 server configured with the Oracle OCI driver with Oracle RAC database.

book

Article ID: KB0085795

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
Description:

After installing and configuring the OCI Driver according to TIBCO LBN1-9GOXNV, and successfully exporting the schema into the Oracle RAC database using the EMS schema export tool, the following error is seen when starting the EMS 5.1.2 server:

SEVERE ERROR: Unable to open store [db_fsync]: [ ESTATUS = 230, ERRSTR = java.lang.UnsatisfiedLinkError: /opt/instantclient_11_2/libocijdbc11.so: libclntsh.so.11.1: cannot open shared object file: No such file or directory.

Environment:

TIBCO Enterprise Message Service version 5.1.2 and later.

Resolution:

This UnsatisfiedLinkErro error is due to the change of dynamic loading by EMS server starting in EMS 5.1.2. To resolve this error, you need to set the OCI driver files folder (containing *.so or *.dll file) to the module path property in the EMS main configuration file. You don't need to add the OCI driver files folder to the system variable: LD_LIBRARY_PATH.

In EMS main config file, add following line:

module_path=/opt/Oracle11gClient/linux24gl23/x86/oci32

then restart the EMS server.

Keywords/Tags:
OCI driver Oracle thing client

Issue/Introduction

The error "java.lang.UnsatisfiedLinkError" is displayed when starting the EMS 5.1.2 server configured with the Oracle OCI driver with Oracle RAC database.