Error starting bwagent while using DBFTL

Error starting bwagent while using DBFTL

book

Article ID: KB0079547

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks 6x

Description

In DBFTL configuration, bwagent fails to start and throws below error:

java.lang.UnsatisfiedLinkError: no tibftljni in java.library.path

Issue/Introduction

Error starting bwagent while using DBFTL

Resolution

You are seeing "UnsatisfiedLinkError: no tibftljni in java.library.path" which indicates that BW Agent is unable to find the tibftljni in JVM's class path.

To fix this please follow below steps: 
In bwagent.tra file (<BW_HOME>/bin/bwagent.tra)

add following entry,

# FTL lib path
tibco.env.FTL_LIB_PATH=<FTL_HOME>/lib

Reason: Almost all entries on in this file was referring to FTL_LIB_PATH which was not defined anywhere. 

e.g. take a look here

tibco.env.LIBPATH=%FTL_LIB_PATH%%PSP%%AS_LIB_PATH%%PSP%%LIBPATH%

With FTL_LIB_PATH entry added, this should resolve the lib path error

Save the bwagent.tra file and you should no more see "UnsatisfiedLinkError: no tibftljni in java.library.path"