Unable to connect to a DB2 8.x database [message #595715] |
Wed, 13 May 2009 16:21 |
JSP Messages: 18 Registered: July 2009 |
Junior Member |
|
|
I am using Datatools 1.6.2 (although this didn't work in 1.6.1 either).
When I select DB2 for Linux, UNIX and Windows from the Connection Profile
Types and then open the "New Driver Definition" dialog, I only see the
following two options:
IBM Data Server Driver for JDBC V9.1
Other Driver V9.1
The problem is that I am using an 8.x driver and nothing shows up for
previous versions of DB2.
I get this error when I attempt to test the connection:
java.lang.AbstractMethodError: com.ibm.db2.jcc.a.f.getJDBCMajorVersion()I
at
org.eclipse.datatools.enablement.ibm.db2.internal.luw.JDBCLU WJDBCConnection.initVersions(JDBCLUWJDBCConnection.java:59)
at
org.eclipse.datatools.connectivity.DriverConnectionBase.inte rnalCreateConnection(DriverConnectionBase.java:112)
at
org.eclipse.datatools.connectivity.DriverConnectionBase.open (DriverConnectionBase.java:53)
at
org.eclipse.datatools.enablement.ibm.db2.internal.luw.JDBCLU WConnectionFactory.createConnection(JDBCLUWConnectionFactory .java:27)
at
org.eclipse.datatools.connectivity.internal.ConnectionFactor yProvider.createConnection(ConnectionFactoryProvider.java:83 )
at
org.eclipse.datatools.connectivity.internal.ConnectionProfil e.createConnection(ConnectionProfile.java:355)
at
org.eclipse.datatools.connectivity.ui.PingJob.createTestConn ection(PingJob.java:76)
at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.ja va:59)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
I can actually connect if I use the Generic JDBC connection profile type
but that gives me another issue, plus I can't get any information when my
code accesses the connection profile because it's generic.
Am I doing something wrong? Are previous versions of DB2 not supported
any more?
|
|
|
Powered by
FUDForum. Page generated in 0.02524 seconds