Subject | Events API -- NoSuchMethodError: org.firebirdsql.gds.GDS.createIscDbHandle |
---|---|
Author | Bernard Devlin |
Post date | 2007-04-22T19:46:35Z |
When trying to use the Events api from the new Jaybird-2.1.1, I get a missing method
error.
I setup a db as per the instructions on the Jaybird wiki (http://jaybirdwiki.firebirdsql.org/
jaybird/doku.php?id=tip:events_api_implementation), and used the
AsynchronousEventNotifier.java code also found there. The code compiles ok, but when I
try to run it, this is the result:
===========
Bernard-PB-G4-17:~/download/Jaybird-2.1.1JDK_1.4 Folder/examples bernard$ java -
classpath ../jaybird-full-2.1.1.jar:. AsynchronousEventNotifier /Users/bernard/gdsdata/
fbevents.fdb sysdba masterkey CUSTOMER_INSERT
Exception in thread "main" java.lang.NoSuchMethodError:
org.firebirdsql.gds.GDS.createIscDbHandle()Lorg/firebirdsql/gds/IscDbHandle;
at org.firebirdsql.event.FBEventManager.<init>(FBEventManager.java:92)
at AsynchronousEventNotifier.<init>(AsynchronousEventNotifier.java:24)
at AsynchronousEventNotifier.main(AsynchronousEventNotifier.java:93)
===========
I tried the SynchronousEventNotifier.java code also, and got the same missing method
exception.
I can connect to that database using isql, and connect using the Jaybird 2.1.1 driver. The
problem only
seems to arise with the Events api.
In case it is relevant, this is all running against Firebird 1.5 on Mac OS X PPC.
Bernard
error.
I setup a db as per the instructions on the Jaybird wiki (http://jaybirdwiki.firebirdsql.org/
jaybird/doku.php?id=tip:events_api_implementation), and used the
AsynchronousEventNotifier.java code also found there. The code compiles ok, but when I
try to run it, this is the result:
===========
Bernard-PB-G4-17:~/download/Jaybird-2.1.1JDK_1.4 Folder/examples bernard$ java -
classpath ../jaybird-full-2.1.1.jar:. AsynchronousEventNotifier /Users/bernard/gdsdata/
fbevents.fdb sysdba masterkey CUSTOMER_INSERT
Exception in thread "main" java.lang.NoSuchMethodError:
org.firebirdsql.gds.GDS.createIscDbHandle()Lorg/firebirdsql/gds/IscDbHandle;
at org.firebirdsql.event.FBEventManager.<init>(FBEventManager.java:92)
at AsynchronousEventNotifier.<init>(AsynchronousEventNotifier.java:24)
at AsynchronousEventNotifier.main(AsynchronousEventNotifier.java:93)
===========
I tried the SynchronousEventNotifier.java code also, and got the same missing method
exception.
I can connect to that database using isql, and connect using the Jaybird 2.1.1 driver. The
problem only
seems to arise with the Events api.
In case it is relevant, this is all running against Firebird 1.5 on Mac OS X PPC.
Bernard