TIBCO ActiveMatrix Adapter for Files for Unix/Win on Windows throws the error, "Startup error. SDK Error: Could not open JMS shared libraryjms, DllError.".

TIBCO ActiveMatrix Adapter for Files for Unix/Win on Windows throws the error, "Startup error. SDK Error: Could not open JMS shared libraryjms, DllError.".

book

Article ID: KB0085229

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Files for Unix and Windows -
Not Applicable -

Description

Description:
Adapter on Windows throws the error, "Startup error. SDK Error: Could not open JMS shared library  jms, DllError.". Then a pop-up is seen with the following message, "The ordinal 3823 could not be located in the dynamic link library LIBEAY32.dll".
Symptoms:
TIBCO ActiveMatrix Adapter for Files for Unix/Win (FA) throws the error, "Startup error. SDK Error: Could not open JMS shared library  jms, DllError.". Then a pop up is seen with the following message, "The ordinal 3823 could not be located in the dynamic link library LIBEAY32.dll".
Cause:
The error is due to a conflict that is occurring between the LIBEAY32.dll and SSLEAY32.dll that is used by TIBCO products such as RV/JMS/HAWK and some non TIBCO products. TIBCO Rendezvous (RV) 7.2+, TIBCO Enterprise for JMS (JMS) 3.1.1+ and TIBCO Runtime Agent (TRA) 5.1.2+ use OpenSSL code (files LIBEAY32.dll and SSLEAY32.dll). There are other applications which use the above OpenSSL code and hence, on some machines, LIBEAY32.dll and SSLEAY32.dll are already installed by non TIBCO applications in C:\Windows\system32.

When TIBCO Java applications are started, the JVM looks for a property called java.library.path that specifies native library paths. If java.library.path is not set explicitly, then the JVM sets the value of java.library.path to the environment variable PATH but prepend C:\Windows\System32 and other directories. If the versions of LIBEAY32.dll and SSLEAY32.dll in C:\Windows\system32 are not compatible with TIBCO Rendezvous, TIBCO applications may fail when trying to use TIBCO Rendezvous or TIBCO JMS.

Resolution

1). Replace the two DLLs LIBEAY32.dll and SSLEAY32.dll if they are present in <Windows_HOME>\System32 folder with those present in TIBCO_RV_HOME\bin .

2). Replace the two DLLs LIBEAY32.dll and SSLEAY32.dll that are present in TIBCO_SDK_HOME\bin with those present in TIBCO_RV_HOME\bin .

Note
====


- If you have RV 8.1 installed in <TIBCO_HOME>/tibrv/8.1, copy the latest files from the ./tibrv/8.1/bin folder to the .\<Windows_HOME>\System32 folder and to the <TIBCO_HOME>/adapter/sdk/<version>/bin folder.


- These files have to be replaced with those in the TIBCO_RV_HOME\bin folder for all paths that are present in the %PATH% variable of the system and in all the paths that come before the RV path in the "tibco.env.PATH" set in the Adapter tra file. Note that the Adapter adds the System Path to the beginning of "tibco.env.PATH" at run-time but the Adapter is compatible only with libeay32.dll and ssleay32.dll which are present in the  TIBCO_RV_HOME\bin folder. The requirement that these files if existing elsewhere in the those paths set in "tibco.env.PATH" preceding the RV_HOME\bin should be replaced with the ones that are present in RV_HOME\bin .

- If the above resolution does not work, you may try copying the files from the tpcl/<ver>/bin folder if copying the files from RV/bin folder does not resolve the issue.

Issue/Introduction

TIBCO ActiveMatrix Adapter for Files for Unix/Win on Windows throws the error, "Startup error. SDK Error: Could not open JMS shared libraryjms, DllError.".