jQuery in Action, 2nd edition*
The moose likes Websphere and the fly likes Db2 v8.0 Type 4 driver with Websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Db2 v8.0 Type 4 driver with Websphere" Watch "Db2 v8.0 Type 4 driver with Websphere" New topic
Author

Db2 v8.0 Type 4 driver with Websphere

BaluMohan Rao
Greenhorn

Joined: Jan 08, 2003
Posts: 3
Hi,
i am using the Type4 (Universal JDBC Driver) provided along with DB2v8.0( db2jcc.jar)
Class c = Class.forName("com.ibm.db2.jcc.DB2Driver");
Connection conDestination = DriverManager.getConnection("jdbc:b b2:sample","db2inst1","password");
The above code gives the following error.
com.ibm.db2.jcc.b.SQLException: Unable to load T2 native library. Type 2 JDBC a
rchitecture is not yet supported by the IBM DB2 JDBC Universal Driver Architectu
re
at com.ibm.db2.jcc.t2.T2Configuration.a(T2Configuration.java:62)
at com.ibm.db2.jcc.t2.T2Configuration.<clinit>(T2Configuration.java:39)
at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:261)
at java.sql.DriverManager.getConnection(DriverManager.java:543)
at java.sql.DriverManager.getConnection(DriverManager.java:194)
at dataconnect.test.DriverTest.getConnection(DriverTest.java:48)
at dataconnect.test.DriverTest.main(DriverTest.java:22)
Has anybody used this driver to connect to DB2v8.0 from Websphere.
Any help is appreciated.
Balu
[ January 08, 2003: Message edited by: BaluMohan Rao ]
[ January 08, 2003: Message edited by: BaluMohan Rao ]
[ January 08, 2003: Message edited by: BaluMohan Rao ]
 
 
subject: Db2 v8.0 Type 4 driver with Websphere
 
Similar Threads
WebSphere DB2 Connection Pool Setup
DB2 upgrade creates jdbc driver problem
java DB2 program
Spring framework test case for DAO: No suitable driver
connect to db2 8 error using JDBC