File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Db2 v8.0 Type 4 driver with Websphere
 
Similar Threads
java DB2 program
DB2 upgrade creates jdbc driver problem
connect to db2 8 error using JDBC
Spring framework test case for DAO: No suitable driver
WebSphere DB2 Connection Pool Setup