Re: driver configuration with DB2 and tomcat

2001-10-25 Thread Barry White

I don't think you can use .zip files in the lib directory.  Try renaming it
to .jar.
Barry
- Original Message -
From: Lawrence Louie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, October 21, 2001 11:31 PM
Subject: driver configuration with DB2 and tomcat


 Hi,

 I am having DB2 for my end, and I have servlet running
 inside tomcat-apache 4.0.  I have gotten DB2 exception
 error about loading the DB2 driver.  I have place the
 db2java.zip in the tomcat-apache/lib directory, and I
 am still having exception problem.

 However, if I am just running JDBC application from
 the command prompt, and I can retrieve data from the
 DB2, everything seem to works fine.

 Any hint of what I should try?

 Thanks!

 Lawrence


 __
 Do You Yahoo!?
 Make a great connection at Yahoo! Personals.
 http://personals.yahoo.com





driver configuration with DB2 and tomcat

2001-10-21 Thread Lawrence Louie

Hi,

I am having DB2 for my end, and I have servlet running
inside tomcat-apache 4.0.  I have gotten DB2 exception
error about loading the DB2 driver.  I have place the
db2java.zip in the tomcat-apache/lib directory, and I
am still having exception problem.

However, if I am just running JDBC application from
the command prompt, and I can retrieve data from the
DB2, everything seem to works fine.

Any hint of what I should try?

Thanks!

Lawrence


__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com



RE: driver configuration with DB2 and tomcat

2001-10-21 Thread Leo Bynum



I think the db2java.zip needs to be in your classpath. Not the directory
that the zip file is in, but the full path with the file name like this:

   tomcat-apache/lib/db2java.zip



-Original Message-
From: Lawrence Louie [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 21, 2001 8:32 PM
To: [EMAIL PROTECTED]
Subject: driver configuration with DB2 and tomcat


Hi,

I am having DB2 for my end, and I have servlet running
inside tomcat-apache 4.0.  I have gotten DB2 exception
error about loading the DB2 driver.  I have place the
db2java.zip in the tomcat-apache/lib directory, and I
am still having exception problem.

However, if I am just running JDBC application from
the command prompt, and I can retrieve data from the
DB2, everything seem to works fine.

Any hint of what I should try?

Thanks!

Lawrence


__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com




Re: driver configuration with DB2 and tomcat

2001-10-21 Thread Dmitri Colebatch

rename the .zip to .jar - tomcat will only include .jar files afaik

hth
dim

On Sun, 21 Oct 2001, Lawrence Louie wrote:

 Hi,
 
 I am having DB2 for my end, and I have servlet running
 inside tomcat-apache 4.0.  I have gotten DB2 exception
 error about loading the DB2 driver.  I have place the
 db2java.zip in the tomcat-apache/lib directory, and I
 am still having exception problem.
 
 However, if I am just running JDBC application from
 the command prompt, and I can retrieve data from the
 DB2, everything seem to works fine.
 
 Any hint of what I should try?
 
 Thanks!
 
 Lawrence
 
 
 __
 Do You Yahoo!?
 Make a great connection at Yahoo! Personals.
 http://personals.yahoo.com