Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DB2 JDBC throws unsatisfiedLinkError

0 views
Skip to first unread message

hode...@my-dejanews.com

unread,
Oct 19, 1998, 3:00:00 AM10/19/98
to

After I installed the FixPak WR09044 in DB2 UDB Version 5 for Win NT,
I got an exception from JDBC :

java.lang.UnsatisfiedLinkError: SQLAllocConnect
at COM.ibm.db2.jdbc.app.DB2Connection.<init>(DB2Connection.java)
at COM.ibm.db2.jdbc.app.DB2Driver.connect(DB2Driver.java)
java.lang.UnsatisfiedLinkError: SQLAllocConnect
at java.sql.DriverManager.getConnection(Compiled Code)
at COM.ibm.db2.jdbc.app.DB2Connection.<init>(DB2Connection.java)
at java.sql.DriverManager.getConnection(DriverManager.java:134)
at COM.ibm.db2.jdbc.app.DB2Driver.connect(DB2Driver.java)

When I replaced the db2jdbc.dll with the old one, everything works.
I have already tried to do a newInstance() when doing Class.forName( driver )
but does not help. Looks like for some reasons, it cannot find the ??.dll
which contains SQLAllocConnect.

Any help will be greatly appreciated.

Dennis


-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum

0 new messages