Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Unable to connect to a DB2 8.x database
Unable to connect to a DB2 8.x database [message #595715] Wed, 13 May 2009 16:21
JSP  is currently offline JSP Friend
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?
Previous Topic:Dependency problem: org.eclipse.datatools.connectivity.sqm.core
Next Topic:LDAP?
Goto Forum:
  


Current Time: Tue Mar 19 02:36:22 GMT 2024

Powered by FUDForum. Page generated in 0.02524 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top