tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fabio <fa...@ccuec.unicamp.br>
Subject Re: java.library.path and database connection
Date Thu, 18 Apr 2002 13:52:53 GMT
Hi,

    I think you are right. Went to

http://www-4.ibm.com/software/data/db2/java/
http://industry.java.sun.com/products/jdbc/drivers

Looks that native IBM DB2 drivers only supports jdbc v2. There's a company that
have a jdbc v3 driver for DB2
(http://www.datadirect-technologies.com/jdbc/jdbc.asp), but unfortunaly is not
free.

    I guess I'll have to resign myself to the fact that I'll have to use
JVM 1.3 :(

    Thanks a lot Andy.

Fabio.

Andy Eastham wrote:

> 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>

--
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>


Mime
View raw message