This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
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


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic
Author

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
Marshal

Joined: Jan 10, 2002
Posts: 62771
    
  68

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] [Bear's FrontMan] [About Bear] [Books by Bear]
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32087
    
207

Please don't post the same question multiple times


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to connect to db2 using type4 drivers