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

Problem connecting DB2 no library db2jdbc in java.library.path

49 views
Skip to first unread message

Corné

unread,
Dec 10, 2001, 12:30:47 PM12/10/01
to
Hi,

I have an webapplication running on os400 WAS 3.5.3 using its local db2 UDB
and want to migrate it to an W2K
WAS 3.5.5 but use the I-series/as400 DB2 database.

I've made a DBDriver installed it with db2java.zip from
C\:/websphere/appserver/lib/db2java.zip
I set the classpath in admin.config (& Enviroment variables) to
com.ibm.ejs.sm.adminserver.classpath=.................;C\:/websphere/appserv
er/lib/db2java.zip

Driver:
Name: DB2AS400
Class Name: com.ibm.db2.jdbc.app.DB2Driver
Prefix: jdbc:db2
NO JTI

Just loading the driver only gives me already a problem:
Driver DriverRecordset1 =
(Driver)Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();
Activitylog:
java.lang.UnsatisfiedLinkError: no library db2jdbc (db2jdbc.dll) in
java.library.path

I can't find a db2jdbc.dll on my W2K because I don't have the DB2 on windows
(which should install this dll).

I tried loading the driver classes( db2_classes.jar ) from the OS400 WAS,
but even more problems.
Can someone help me with telling me what I need to do to make this
connection.

I'm trying a full day now and getting nervous breakdown.
Read so many redbooks see little animals crawling on my desktop :)

--
Corné Aussems


Corné

unread,
Dec 12, 2001, 7:47:46 AM12/12/01
to
SOLVED

Had to use the JT400.JAR from the db2 toolbox


"Corné" <c.au...@pantheon-automatisering.nl> wrote in message
news:9v2rlb$16jc$1...@news.boulder.ibm.com...

0 new messages