TIBCO ActiveMatrix Adapter for Files for Unix/Win fails with the error, "Failed to load shared library, library name: adfiles50.dll".

TIBCO ActiveMatrix Adapter for Files for Unix/Win fails with the error, "Failed to load shared library, library name: adfiles50.dll".

book

Article ID: KB0094522

calendar_today

Updated On:

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

Description

Description:
In order to run C++ based 32-bit adapters, such as TIBCO ActiveMatrix Adapter for Files for Unix/Win (FA) on 64-bit TIBCO Runtime Agent (TRA ) 5.7.1, some custom steps must be performed since TRA 5.7.1 does not have 32-bit RV libraries for Windows, which are required by the file adapter. If FA is pointed at 64-bit RV libraries, it will fail with the error, "Failed to load shared library, library name: adfiles50.dll".

Symptoms:
When trying to start File Adapter tester, it fails with the error, "Failed to load shared library, library name: adfiles50.dll".
Cause:
File Adapter throws the following error if it is pointing to RV 64-bit libraries in adfileagent.tra.

"Lib name adfiles50.dll
Failed to load shared library, library name: adfiles50.dll"

Issue/Introduction

TIBCO ActiveMatrix Adapter for Files for Unix/Win fails with the error, "Failed to load shared library, library name: adfiles50.dll".

Resolution

In order to run C++ based 32-bit adapters on 64-bit TRA 5.7.1, a 32-bit separate RV installation is required in a different folder. This step is needed since the 64-bit RV package does not ship with 32-bit libraries for Windows. The 64-bit TRA 5.7.1 does not have the 32-bit RV libraries required by File Adapter which is a 32-bit executable.

1). Install 64-bit RV.

2). Install 64-bit TRA 5.7.1.

3). Install the 32-bit RV and place it under another directory. This prevents an RV file overwrite. Ignore the message to overwrite files in the C:\Windows directory if presented with the option.

4). Install the adapter.

5). Validate that the .tra files of adapter points to the 32-bit RV libraries at runtime.