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:
- 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
- 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.