aspose file tools
The moose likes JDBC and the fly likes how to connect to db2 using type4 drivers Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

how to connect to db2 using type4 drivers

chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 779



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: 56150
    
  13

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.

[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26138
    
  66

Please don't post the same question multiple times


[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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to connect to db2 using type4 drivers
 
Similar Threads
tomcat server is not connecting to db2 database or any other database
No suitable Driver - DB2 error
java.sql.SQLException: No suitable driver
How to connect Oracle with Java
how to connect to db2 using type4 drivers