Subject Re: jdbc: message file not found
Author micha72003
--- In Firebird-Java@yahoogroups.com, "Roman Rokytskyy"
<rrokytskyy@a...> wrote:

> ... It looks for the message file in the same directory where
> main executable is. You can override this in firebird.conf file, ...
I don't found in firebird.conf a entry to give the location of the
message file.

> ... which in turn is looked for either in the directory
> of the main executable or the path where the FIREBIRD
> environment variable points to. ...
I have set the FIREBIRD environment variable. This works very well :-)
Thank you!


> Try changing the URL to jdbc:firebirdsql:embedded:... though I am
not sure
> that this helps.
I have tried the url to
dbExecute.url=jdbc:firebirdsql:embedded:c:/Firebird/data/test.fdb.
This doesn't work, i become the folowing error:

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.attemptToLoadAClientLibraryFromList(GDS_Imp
l.java:135)
at org.firebirdsql.ngds.GDS_Impl.<init>(GDS_Impl.java:84)
at
org.firebirdsql.gds.GDSFactory.createGDSForType(GDSFactory.java:65)
at
org.firebirdsql.gds.GDSFactory.getGDSForType(GDSFactory.java:48)
at
org.firebirdsql.jca.FBManagedConnectionFactory.<init>(FBManagedConnection
Factory.java:127)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:121)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at DBuse.openConnection(DBuse.java:72)
at DBexecute.execute(DBexecute.java:112)
at DBexecute.<init>(DBexecute.java:57)
at DBexecute.main(DBexecute.java:26)


Thanks for helping!
Michael