Where is the jar file containing your db drivers?

Sounds as though you have it in your jdk1.3.1 installation - it should be in 
common/lib.

HTH

-----Original Message-----
From: Jochen Schweflinghaus [mailto:[EMAIL PROTECTED]
Sent: 11 June 2003 11:39
To: [EMAIL PROTECTED]
Subject: UnsatisfiedLinkError with DB2 app driver and JDK1.4.1


Hi,

I am SUCCESSFULLY running a web Application with the following environment:
- Redhat Linux 7.1
- DB2/LINUX 7.2.3 Database
- Tomcat 4.0.4
- JRE 1.3.1

But when just I switch $JAVA_HOME variable for tomcat to use JDK 1.4.1
instead of
JRE 1.3.1 I get a
java.sql.SQLException: java.lang.UnsatisfiedLinkError: no db2jdbc in
java.library.path
        at COM.ibm.db2.jdbc.app.DB2Driver.<init>(DB2Driver.java:241)
        ...
when trying to get a Database connection though the
COM.ibm.db2.jdbc.app.DB2Driver.
Getting connections via the COM.ibm.db2.jdbc.net.DB2Driver still works, so
that I
suspected an uncorrect setting of LD_LIBRARY_PATH or the java.library.path
property
respectively. But this is NOT the case, the path to libdb2jdbc.so is
included there.
And amazingly a standalone java class I wrote for testing is running fine
with any
combinations of JVMs and JDBC drivers. I had all tries from the same shell
and used
the same jar files.

So it seems to be a Problem with the JVM version 1.4.x and tomcat. Any
hints about this ?
Does anyone out there experience similar problems ?

Appreciate any kind of help - Jochen.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to