Subject Connecting to Firebird embedded via Jaybird
Author Marcus Rau

I'm trying to embed Firebird 1.5.2 into Tomcat 5.0 (using JDK 1.4.2 on
Win XP).

That's what I did up to now:

1. Putting the necessary stuff (Firebird embedded files: fbembedd.dll,
ib_util.dll, firebird.conf, firebird.msg, the UDF and INTL
subdirectories with it's contents) to the directory
%CATALINA_HOME%\embeddb within tomcat installation dir, right as
described in the related documentation (README_embedded.txt from
distribution package),

2. Renaming fbembedd.dll to fbclient.dll

3. Including jaybird.dll into %CATALINA_HOME%\embeddb

4. Modifying the startup script, so that 'java.library.path' points to

That's what I'm encountering, if I try to connect via Jaybird 1.5.5:

java.lang.RuntimeException - Failed to initilize jaybird native library.
This is most likley due to a failure to load the firebird client library.

at org.firebirdsql.ngds.GDS_Impl.<init>(
at org.firebirdsql.gds.GDSFactory.createGDSForType(
at org.firebirdsql.gds.GDSFactory.getGDSForType(

at org.firebirdsql.jdbc.FBDriver.connect(

An older version of Jaybird (1.5.1) behaves similar and tells me: ...
Could not find or load the GDS32.dll ...

Whether renaming the 'fbembedd.dll' to 'GDS32.dll' nor trying to export
%PATH% pointing to the libdir instead of setting 'java.library.home'
improves the situation.
What's wrong?

Marcus Rau