Hi, I am using Apache Tomcat4.0.4 to connect to DB2 UDB7.2 database. When I try to use the COM.ibm.db2.jdbc.app.DB2Driver it is throwing the ClassNotFoundException. I checked whether the class in the application classpath or not by using the javap COM.ibm.db2.jdbc.app.DB2Driver It is listing the methods of that class.If I connect to database without using Apache it is working fine. Can anybody please tell me how to use the above driver in Apache Tomcat 4.0.4 Thanks in Advance [ October 31, 2002: Message edited by: Praveen K Pippiri ]
Praveen<br />Sun Certified Programmer for Java 2 Platform.
Praveen K Pippiri
Joined: Jun 17, 2002
I got the solution for the above problem.The Tomcat class path is overwriting the system classpath.That is the reason Tomcat is not finding the DB2driver.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com