× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi all,
I am trying to connect to a MS SQL Server data base using Scott's JDBCR4
Service Program. I am getting a Java error when I try to connect :

java.lang.NoClassDefFoundError:
java/util/logging/Logger

java/lang/Throwable.<init>(Ljava/lang/String;)V+4
(Throwable.java:85)

java/lang/Error.<init>(Ljava/lang/String;)V+1 (Error.java:41)

java/lang/NoClassDefFoundError.<init>(Ljava/lang/String;)V+1 (
NoClassDefFoundError.java:38)
com/microsoft/sqlserver/jdbc/Util.<clinit>()V+99
(:??)

com/microsoft/sqlserver/jdbc/SQLServerDriver.parseAndMergeProperties(Ljava/lang/String;Ljava/util/Properties;)Ljava/util/Prope

com/microsoft/sqlserver/jdbc/SQLServerDriver.connect(Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;+5
(:??)


Here is the RPG code I am trying to execute
p CrtConnection b
d CrtConnection pi n
/free

// prepare the connection proporties
prop = JDBC_Properties();
JDBC_setProp(prop: 'userName' : 'fradmin');
JDBC_setProp(prop: 'password' : 'freitrater');
JDBC_setProp(prop: 'databaseName' : 'FreitRater');

conn = JDBC_ConnProp('com.microsoft.sqlserver.jdbc.SQLServerDriver'
:'http://192.168.90.216'
: prop );
JDBC_freeProp(prop);

if (conn = *NULL);
return error;
endif;

return success;
/end-free
p CrtConnection e

Any help would be greatly appreciated.

Thanks

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.