Results 1 to 3 of 3

Thread: DB2 and tomcat

  1. #1
    Join Date
    Aug 2007
    Posts
    1

    Unanswered: DB2 and tomcat

    Hi..

    I have a java program that goes against a db2 database that I now need to change into a servlet. DB2 version is 8.1.8.913 and Tomcat version is 5.5.20.
    The message I get is

    INFO: Server startup in 1094 ms
    ClassNotFoundException: com.ibm.db2.jcc.DB2Driver
    SQLException: No suitable driver

    I have checked the forum and none of the answers seem to help.

    Thanks,
    Rhonda

  2. #2
    Join Date
    Jun 2006
    Posts
    471
    check for the classpath setting
    there is a chapter in online info center about this : Installing the DB2 Universal JDBC Driver
    Best Regards, Guy Przytula
    DB2 UDB LUW certified V6/7/8

  3. #3
    Join Date
    Jan 2007
    Location
    Jena, Germany
    Posts
    2,721
    How is your classpath set for Tomcat? It seems that it does not include the necessary paths for DB2 and, thus, the DB2 driver is not found.
    Knut Stolze
    IBM DB2 Analytics Accelerator
    IBM Germany Research & Development

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •