tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Eastham" <andy.east...@gliant.com>
Subject RE: java.library.path and database connection
Date Thu, 18 Apr 2002 13:04:33 GMT
Fabio,

jdk1.4 includes jdbc v3 as standard.  Perhaps your database drivers
explicitly require jdbc v2?

Andy

> -----Original Message-----
> From: fabio@ccuec.unicamp.br [mailto:fabio@ccuec.unicamp.br]
> Sent: 18 April 2002 13:43
> To: Tomcat Users List
> Subject: Re: java.library.path and database connection
>
>
> Hello again,
>
>     I've sent an email about the error
>
> java.sql.SQLException: java.lang.UnsatisfiedLinkError: no db2jdbc in
> java.library.path
>
>     Changed the JVM from 1.4 to 1.3.1 and things get going.
>
>     Despite the happiness to see the database connection working,
> I want to
> understand why it doesn't work with JVM 1.4. I think that perhaps this has
> something to do with libdb2jdbc.so, but I can connect via an
> aplication, using JVM
> 1.3.
>
>     Anyone ?
>
>     Thansk again,
>
> Fabio.
>
> fabio wrote:
>
> > Hello,
> >
> >     I have a problem and I'm having a hard time to figure out
> what is going on.
> >
> >     Scenario: New machine. Solaris 2.8, all patches. J2SDK 1.4.0. Tomcat
> > 4.0.3-LE-jdk1.4. DB2 7.1 (local, not db2client, but I think
> that it's not the
> > problem; I can connect via Java applications).
> >
> >     I have several servlets on
> tomcat/webapps/some-dir/WEB-INF/classes. The DB2
> > driver (db2java.jar) is on tomcat/classes/lib. When I try to
> execute anything
> > (that connects to the database), I get the message:
> >
> > java.sql.SQLException: java.lang.UnsatisfiedLinkError: no db2jdbc in
> > java.library.path
>
> stuff deleted.
>
> --
> Fabio Mengue - Centro de Computacao - Unicamp
> fabio@ccuec.unicamp.br       fabio@unicamp.br
> "Quem se mata de trabalhar merece mesmo morrer." - Millor
>
>
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message