Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error trying to use datasource

0 views
Skip to first unread message

Michael Geier

unread,
Dec 19, 2001, 2:57:49 PM12/19/01
to
When I try and use the a DataSource to get a connection I always get the
following error:

java.lang.NoClassDefFoundError: com/merant/jdbcspy/SpyLogger
at com.microsoft.jdbcx.base.BaseDataSource.getConnection(Unknown
Source)

My code looks like this (with real values)
com.microsoft.jdbcx.sqlserver.SQLServerDataSource ds = new
com.microsoft.jdbcx.sqlserver.SQLServerDataSource();
ds.setDescription("My SQL Server");
ds.setServerName("SERVER_NAME");
ds.setPortNumber(1433);
ds.setDatabaseName("DB_Name");

con = ds.getConnection(id,pwd);

Why is it looking for Merant class, this class doesn't exist in any of the
.jar files


Volker Berlin

unread,
Dec 20, 2001, 9:11:40 AM12/20/01
to
Hello,

Ms has bought the driver from Merant and Ms has not replace all words
"merant" with "microsoft" in the source code !!!

You can wait for a fix from MS or you can use another driver like i-net
OPTA2000 from
http://www.inetsoftware.de/English/Produkte/OPTA

Volker Berlin
i-net software


Michael Geier schrieb in Nachricht ...

0 new messages