Fabio,

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

Andy

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> 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
> [EMAIL PROTECTED]       [EMAIL PROTECTED]
> "Quem se mata de trabalhar merece mesmo morrer." - Millor
>
>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to