This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
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: 9137
    
    9

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


[How To Ask Questions On JavaRanch]
 
Have you checked out Aspose?
 
subject: Db2 driver
 
It's not a secret anymore!