Subject | Re: [Firebird-Java] JDBC-connection Problem |
---|---|
Author | Luca Lafranchi |
Post date | 2003-06-03T07:00:41Z |
Hi Matthias :)
Be aware that the .zip file itself isn't the driver. If you open it
you'll find many jar files. What you need is "firebirdsql-full.jar".
Ciao
Luca
Schonder, Matthias wrote:
Be aware that the .zip file itself isn't the driver. If you open it
you'll find many jar files. What you need is "firebirdsql-full.jar".
Ciao
Luca
Schonder, Matthias wrote:
>>Hi Matthias,
>>if you go to the IBPhoenix download page
>>(http://www.ibphoenix.com/main.nfs?a=ibphoenix&s=1054619556:62651&page=ibp_
>
> download)
>
>>You can download both Interclient as well as Jaybird, please make sure you
>>select Firebird Class 4 JCA-JDBC driver "JayBird" .
>>You should then get the download page and select the following link to do
>
> the
>
>>actual downloading : * 30th April 2003 JCA-JDBC driver (.zip) (1.2mb).
>>Hope this helps,
>>Brgds,
>>Herman
>
>
> Hei :)
>
> 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?
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>