• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ClassNotFoundException--DB2 Driver

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic