Subject | RE: [Firebird-Java] Re: Socket closed error with Interclient - JCA DOESN'T WORK |
---|---|
Author | Sanjay Amatya |
Post date | 2002-04-23T12:39:59Z |
Included all jar files from JCA driver inot classpath.
Have a pieace of code like:
Class.forName("org.firebirdsql.jdbc.FBDriver"); //1
connection = DriverManager.getConnection
("jdbc:firebirdsql:servername:c:\\testjava\\contact.gdb","sysdba","masterkey"); //2
Throws exception at //1
ClassDefNotFoundError - javax/sql/datasource
at java.lang.ClassLoaderDefineClass0(NativeMethod)
....
and so on.
No matter what I changed in //2, still getting the same error.
__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
Have a pieace of code like:
Class.forName("org.firebirdsql.jdbc.FBDriver"); //1
connection = DriverManager.getConnection
("jdbc:firebirdsql:servername:c:\\testjava\\contact.gdb","sysdba","masterkey"); //2
Throws exception at //1
ClassDefNotFoundError - javax/sql/datasource
at java.lang.ClassLoaderDefineClass0(NativeMethod)
....
and so on.
No matter what I changed in //2, still getting the same error.
__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/