Exception java.lang.UnsatisfiedLinkError with stc_mocca.dll

(Doc ID 1027179.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Sun e*Gate - Version: 4.1.2 to 4.5.3 - Release: 4.1 to 4.5
Information in this document applies to any platform.
***Checked for relevance on 26-Mar-2012***

Symptoms

An e*Way running a Java collaboration fails to start. The following is reported in the log file:

14:51:35.499 COL I 1286 (initialize.cxx:863): *************** Exception occurred **************
14:51:35.499 COL I 1286 (initialize.cxx:863): toString: java.lang.NoClassDefFoundError: com/stc/jcsre/ssc/Mocca
14:51:35.499 COL I 1286 (initialize.cxx:863):
14:51:35.499 COL I 1286 (initialize.cxx:863): getMessage: com/stc/jcsre/ssc/Mocca
14:51:35.499 COL I 1286 (initialize.cxx:863):
14:51:35.505 COL I 1286 (initialize.cxx:863): StackTrace: java.lang.NoClassDefFoundError: com/stc/jcsre/ssc/Mocca
at java.lang.Class.newInstance0(Native Method)
...


The following is the start of the information in e*Way's stderr file:

java.lang.UnsatisfiedLinkError: /usr/egateclients/iffordev/bin/stc_mocca.dll:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadLibrary(ClassLoader.java(Compiled Code))
at java.lang.Runtime.load0(Runtime.java:715)
at java.lang.System.load(System.java:826)
at com.stc.jcsre.ssc.Mocca.<clinit>(Mocca.java:145)
at java.lang.Class.newInstance0(Native Method)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms