How to resolve "no tibdgjni in java.library.path" error while connecting to ActiveSpace 3.x using TIBCO BusinessEvents 5.5 catalog function

How to resolve "no tibdgjni in java.library.path" error while connecting to ActiveSpace 3.x using TIBCO BusinessEvents 5.5 catalog function

book

Article ID: KB0082074

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 5.5.x

Description

When trying to connect ActiveSpace 3.x using BusinessEvents 5.5 catalog functions , the following exception occurs:
java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: no tibdgjni in java.library.path
       at com.tibco.cep.kernel.core.rete.BeTransaction.execute(SourceFile:123)
       at com.tibco.cep.kernel.core.rete.ReteWM.invoke(SourceFile:588)
       at com.tibco.cep.kernel.core.rete.ReteWM.start(SourceFile:229)
       at com.tibco.cep.runtime.session.impl.RuleSessionImpl.start(RuleSessionImpl.java:385)
       at com.tibco.cep.runtime.session.impl.RuleSessionManagerImpl.start(RuleSessionManagerImpl.java:251)
       at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.startAll(RuleServiceProviderImpl.java:1215)
       at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:266)
       at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:172)

 

Issue/Introduction

Resolving "java.lang.UnsatisfiedLinkError: no tibdgjni in java.library.path" error while connecting to ActiveSpace 3.x using TIBCO BusinessEvents 5.5 catalog function

Environment

All Supported Environments

Resolution

TIBCO BusinessEvents(BE) needs to get reference to both %FTL_HOME%\bin\ and %AS3x_HOME%\bin.
To fix this error "java.lang.UnsatisfiedLinkError: no tibdgjni in java.library.path", set FTL_HOME and AS3x_HOME in be-engine.tra and studio.tra file。
example:
tibco.env.FTL_HOME=F:/tibco/ftl/5.3
tibco.env.AS3x_HOME=F:/tibco/as/3.4
Note:
  1. If starting BE engine in the command line, please add the %FTL_HOME%/bin% and %AS3x_HOME%/bin to System Environmental variables PATH (Windows)/LD_LIBRARY_PATH(Linux).
Example
Windows :
set PATH=C:/tibco/ftl/5.3/bin;C:/tibco/as/3.4/bin;%PATH%
Linux:
export LD_LIBRARY_PATH=/opt/tibco/ftl/5.3/bin:/opt/tibco/as/3.4/bin:$LD_LIBRARY_PATH
  1. If starting BE engine using BE Studio debugger, this needs to be added to PATH at BE Studio-> Run Configurations ->  Environment tab. See attached screenshot for reference. The re-launch BE engine after this change.
Note, Run configuration which is created after studio has this setting should have these values included in Environment Path. The mentioned manual update to run configurations environment path needs to be applied to existing Run configurations.

Attachments

How to resolve "no tibdgjni in java.library.path" error while connecting to ActiveSpace 3.x using TIBCO BusinessEvents 5.5 catalog function get_app