Subject | RE: [Firebird-Java] JDBC-connection Problem |
---|---|
Author | Schonder, Matthias |
Post date | 2003-06-03T06:37:31Z |
>Hi Matthias,download)
>if you go to the IBPhoenix download page
>(http://www.ibphoenix.com/main.nfs?a=ibphoenix&s=1054619556:62651&page=ibp_
>You can download both Interclient as well as Jaybird, please make sure youthe
>select Firebird Class 4 JCA-JDBC driver "JayBird" .
>You should then get the download page and select the following link to do
>actual downloading : * 30th April 2003 JCA-JDBC driver (.zip) (1.2mb).Hei :)
>Hope this helps,
>Brgds,
>Herman
Thank you very much... but I had no luck.
Not I run into this
java.lang.NoClassDefFoundError: javax/resource/ResourceException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at IB_aristoteles.ansprechen(IB_aristoteles.java:31)
at IB_aristoteles.<init>(IB_aristoteles.java:27)
at Ibtest.<init>(Ibtest.java:18)
at Ibtest.main(Ibtest.java:32)
Exception in thread "main"
this is my codesnipped:
--------------------------------
public IB_aristoteles () {
this.url =
"jdbc:firebird://192.61.37.63:3050//Datenbanken/Pivot/Pivot.gdb";
this.usr= "SYSDBA";
this.pwd = "masterkey";
this.classname = "org.firebirdsql.jdbc.FBDriver";
ansprechen();
}
private void ansprechen() {
try {
Class.forName(classname);
//this.d = new org.firebirdsql.jdbc.FBDriver();
this.c = DriverManager.getConnection(url, this.usr,
this.pwd);
} catch( SQLException e ) {
e.printStackTrace();
} catch (Exception e) {
e.printStackTrace();
}
}
--------------------------------
It's a pretty wierd...
could it be, that the firebird needs something like a module to be able to
handle JDBC requests?