File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes how to connect to db2 using type4 drivers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic

how to connect to db2 using type4 drivers

chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 806

hi everybody, i am chaitanya. i have a problem. i am developing a web application. i am using db2, java1.4 and tomcat4.1 server on windows platform.

previously i was using websphere application server instead of tomcat. i connected to the database using jdbc/odbc driver i.e type 1 driver.

now i migrated to tomcat. tomcat is unable to connect to db2 using type 1 driver. so i thought to change the drivers. but i dont know how to connect to database with type 4 driver. any body please help me.

Love all, trust a few, do wrong to none.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

Please take the time to choose the correct forum for your posts. This forum is for questions on JSP. For more information, please read this.

This post has been moved to a more appropriate forum.

[Asking smart questions] [About Bear] [Books by Bear]
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33117

Please don't post the same question multiple times

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: how to connect to db2 using type4 drivers
It's not a secret anymore!