wood burning stoves 2.0*
The moose likes JDBC and the fly likes Db2 driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Db2 driver" Watch "Db2 driver" New topic
Author

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
Bartender

Joined: Oct 29, 2001
Posts: 8876
    
    8

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


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Db2 driver