Project

General

Profile

Bug #4120

Bug in OpenDBConnector actor

Added by Jamie Vleeshouwer over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
actors
Target version:
Start date:
06/01/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4120

Description

It also appears that the OpenDBConnector needs to be updated too. The previous version of the driver class required a connection string which was prefixed with jdbc:microsoft:sqlserver, however the new driver requires jdbc:sqlserver. The OpenDBConnector actor automatically appends this prefix when trying to connect to a SQL server database, however it still uses the old connection string which currently makes it impossible to connect to a SQL Server database.


Hi Peter,

I have updated the actor to use the driver class
com.microsoft.sqlserver.jdbc.SQLServerDriver.

However, the MS SQL Server JDBC jars included in Kepler appear to
be from "MS SQL Server 2000 Driver for JDBC", which does not
support Java 1.5. I have removed these jars since Kepler requires
Java 1.5.

The license for "MS SQL Server 2005 JDBC Driver 1.2" (which does
support Java 1.5) does not permit redistribution. You will need to
download the jars and place them in $KEPLER/lib/jar/. The Kepler
loader will automatically add them to the classpath. If you are
using Eclipse, you might need to add them to the .classpath file.

Let me know if you have questions,

--dan

Peter.Fitch at csiro.au wrote:

Hi Kepler users,

I have found a problem with using the open database connector actor with MS SQL Server. When you set the database format to MS SQL Server you get an exception class not found com.microsoft.jdbc.sqlserver.SQLServerDriver.

Unfortunately the class is correct for Java 1.4 but not for 1.5 which is the current recommended version. In Java 1.5 the driver class is com.microsoft.sqlserver.jdbc.SQLServerDriver.

Anyone else found this?

Cheers
Peter

_______________________________________
Kepler-users mailing list
Kepler-users at ecoinformatics.org
http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users

Cheers

Jamie

History

#1 Updated by Daniel Crawl over 10 years ago

I've updated OpenDBConnection to use the new string.

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 4120

Also available in: Atom PDF