GeeCON Prague 2014*
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


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 ]
 
GeeCON Prague 2014
 
subject: Db2 v8.0 Type 4 driver with Websphere