BusinessConnect EDI Protocol is generating UnsatisfiedLinkError for .dll file

BusinessConnect EDI Protocol is generating UnsatisfiedLinkError for .dll file

book

Article ID: KB0094451

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect -
Not Applicable -

Description

Resolution:
Description:
=========
BusinessConnect (BC) EDI Protocol 5.X is generating an UnsatisfiedLinkError for .dll file upon startup.

Environment:
==========
Windows Server 2008
All BC-EDI Versions

Symptoms:
=========
The BC engine is not starting and throws the following exception:

BW.BusinessConnect-Single_Server Error [bw.logger] BW-EXT-LOG-100001  XEngine warmup failure. java.lang.UnsatisfiedLinkError: C:\tibco\bc\5.x\protocols\edi\tpcl\bin\xejni.dll: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at com.edifecs.xengine.xeobjects.XESystem.&ltclinit>(Unknown Source)
    at com.tibco.ax.edi.runtime.EDIBootStrapExtension.warmUpXEngine(EDIBootStrapExtension.java:1582)
    at com.tibco.ax.edi.runtime.EDIBootStrapExtension.&ltinit>(EDIBootStrapExtension.java:106)
    ...
Also, the following event is seen in the Windows Application log error on the server when starting the BC server;

Activation context generation failed for "C:\tibco\bc\5.x\protocols\edi\tpcl\bin\xejni.dll".Error in manifest or policy file "C:\tibco\bc\5.x\protocols\edi\tpcl\bin\Microsoft.VC90.CRT.MANIFEST" on line 4. Component identity found in manifest does not match the identity of the component requested. Reference is Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8". Definition is Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.1". Please use sxstrace.exe for detailed diagnosis.

Cause:
======
This error is generated in the EDI native libraries. If the EDI protocol is deactivated, BC starts normally. This shows EDI has dependency with Visual C++ in the Microsoft Windows environment which causes the error.

Resolution:
=========
If such error occurs under Windows, install the Windows Server 2008 Service Pack 1.

Related link
=========
About side-by-side error and use of sxstrace
http://blogs.msdn.com/b/junfeng/archive/2006/04/14/576314.aspx

Issue/Introduction

BusinessConnect EDI Protocol is generating UnsatisfiedLinkError for .dll file