• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Db2 v8.0 Type 4 driver with Websphere

 
BaluMohan Rao
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic