tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chong Yu Meng" <cymbi...@cyberway.com.sg>
Subject Re: db2 apache
Date Fri, 21 Jul 2000 02:36:22 GMT
Hi Brian :

I had the same problem with DB2v5.2 beta on Linux, but the problem was in
the CLASSPATH. I found something rather strange -- if I move the db2java.zip
to the same location as my classes.zip and specified it inside the
CLASSPATH, I got my java programs to load the class libraries (and the
driver) -- no problems. What version DB2 are you using ?

Regards,
Chong Yu Meng


----- Original Message -----
From: Brian Seery(Esat) <bseery@esatclear.ie>
To: <tomcat-user@jakarta.apache.org>
Sent: Friday, July 21, 2000 3:42 AM
Subject: db2 apache


> Hi all,
>
> I am trying to use Java Servlets/JDBC with Apache Web Server/JServ to
> connect to DB2. This is running on UNIX AIX.
>
> The problem is, I am getting the error "No suitable driver" when I try to
> make a database connection. This is because the LIBPATH and
> DB2INSTANCE environment variables are not being picked up. I have them
> defined in the user profile that Apache is running as but it is not being
> picked up (it is even defined in /etc/profile). How can I define them for
> Apache?
>
> Any help I would be really grateful
>
>
>
>
> Brian
>


Mime
View raw message