wood burning stoves 2.0
The moose likes JDBC and Relational Databases and the fly likes Db2 driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Db2 driver" Watch "Db2 driver" New topic

Db2 driver

Ramakrishnan thiyagarajan
Ranch Hand

Joined: Oct 07, 2003
Posts: 57
hai java fans,
i am using db2 to query the the data using JDbC driver.how to set the classpath? i am using tomcat server. i put the driver name
COM.ibm.db2.jdbc.app.DB2Driver. and url db2:jdbc sn,username,password.
i put the db2java.zip in my working dir.but i can deploy the application then exception can thrown.(driver not found). how to set the classpath?
Joe Ess

Joined: Oct 29, 2001
Posts: 9154

Look at your startup and shutdown scripts in the <tomcat home>/conf directory.

[How To Ask Questions On JavaRanch]
I agree. Here's the link: http://aspose.com/file-tools
subject: Db2 driver
It's not a secret anymore!