java.lang.UnsatisfiedLinkError: SQLConnect on Type 2 DB2 Connect (Doc ID 1025317.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Sun Schema Runtime Environment (SRE) - Version: 5.0.5u2 and later   [Release: 5.0 and later ]
Information in this document applies to any platform.
Sun SeeBeyond Schema Runtime Environment (SRE) - Version: 5.0.5 and later
Checked for relevance on 19-SEP-2011

Symptoms

After upgrading the JRE to 1.4.2 via ESR 98343 and DST ESR 105972, getting the following error connecting to DB2 8.1:

20:02:01.545 COL I 2571 (java_extensions.cxx:1442): *************** Exception occurred **************
20:02:01.545 COL I 2571 (java_extensions.cxx:1442): toString: java.lang.UnsatisfiedLinkError: SQLConnect
20:02:01.545 COL I 2571 (java_extensions.cxx:1442):
20:02:01.545 COL I 2571 (java_extensions.cxx:1442): getMessage: SQLConnect
20:02:01.545 COL I 2571 (java_extensions.cxx:1442):
20:02:01.552 COL I 2571 (java_extensions.cxx:1442): StackTrace:
java.lang.UnsatisfiedLinkError: SQLConnect
at null.null(Unknown Source)
at COM.ibm.db2.jdbc.app.DB2Connection.connect(DB2Connection.java(Compiled Code))
at COM.ibm.db2.jdbc.app.DB2Connection.<init>(DB2Connection.java:424)
at COM.ibm.db2.jdbc.app.DB2ReusableConnection.<init>(DB2ReusableConnection.java:69)
at COM.ibm.db2.jdbc.DB2PooledConnection.getConnection(DB2PooledConnection.java:188)
at com.stc.eways.jdbcx.Session.connect(Session.java:347)
at com.stc.eways.jdbcx.Session._open(Session.java:506)
at com.stc.eways.jdbcx.DbConnector.open(DbConnector.java:134)
at com.stc.common.collabService.JConnectionManagerImpl.openConnectorConnection(JConnectionManagerImpl.java:504)
at com.stc.common.collabService.JConnectionManagerImpl.manageAutomatic(JConnectionManagerImpl.java:429)
at com.stc.common.collabService.JConnectionManagerImpl.manage(JConnectionManagerImpl.java:365)
at com.stc.common.collabService.JCCollabControllerImpl.manageConnections(JCCollabControllerImpl.java:1029)

db2level shown below:
[u764555@hq1aead01][/etc] > su - db2inst1
db2inst1's Password:
[db2inst1@hq1aead01][/home/db2inst1] > db2level
DB21085I Instance "db2inst1" uses "64" bits and DB2 code release "SQL08021"
with level identifier "03020106".
Informational tokens are "DB2 v8.1.1.80", "s041221", "U800400", and FixPak "8".
Product is installed at "/usr/opt/db2_08_01".

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