File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassNotFoundException--DB2 Driver

 
Praveen K Pippiri
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 K Pippiri
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic