Subject Re: Socket closed error with Interclient - JCA DOESN'T WORK
Author rrokytskyy
This is bug in beta distribution. JDBC 2.0 Optional Package is not
included in archive. You have to download them from Sun website
manually and add to the classpath
(http://java.sun.com/products/jdbc/download.html)

Best regards,
Roman Rokytskyy

--- In Firebird-Java@y..., Sanjay Amatya <sanjayamatya@y...> wrote:
> 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","mas
terkey"); //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.