aspose file tools
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


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 9125
    
    9

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


[How To Ask Questions On JavaRanch]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Db2 driver
 
It's not a secret anymore!