-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Hello,
IBM has not made a db2 driver for udb 5, so i installed the db2 package
for udb 6 hoping i would still be able to use it. 
I read in a usenet article that the driver is part java and part native
code and calls a linux so module (libdb2jdbc.so) and the module rejects
requests if it cant find an enviormental variable of DB2INSTANCE, but when
i set the variable i still get the same error. All the classpaths are set
right too.

This is the error that i get in mod_jserv.log
when the servlet tries to load COM.ibm.db2.jdbc.app.DB2Driver 

[23/08/1999 09:08:08:634] (ERROR) ajp11: Servlet Error:
Initialization error while loading the servlet:
SQLException While Initializing: No suitable driver

on the other hand, when i try to load jdbc.net.DB2Driver even though i
know it is not the right one.

[23/08/1999 09:20:37:771] (ERROR) ajp11: Servlet Error: Initializati
on error while loading the servlet: SQLException While Initializin
g: [IBM][JDBC Driver] CLI0615E  Error receiving from socket, server is
 not responding. SQLSTATE=08S01

the servlet log file tells me:
Mon Aug 23 09:20:37 EDT 1999    STARTUP ServCapitol Started.
Mon Aug 23 09:20:37 EDT 1999    STARTUP Using /servlets/ServCapitol as
servlet 

The database on the remote server is up and running, but ive tested it
with even totally wrong database url syntax and it makes no difference, i
dont think it even gets that far as to contact it.

Anyone ever experienced this type of jdbc error before or have any more
information on it? 
If i dont find a solution i will just install db2 on this machine, but i
dont want to do that.

Thanks,
-alex



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to