Subject Re: [Firebird-Java] jdbc: message file not found
Author Roman Rokytskyy
> I'am using firebird 1.5 embeded with jdbc. I become in some
> SQLExceptions the text "... can't format message 8:48 --
> message file C:\j2sdk1.4.2_02\bin\firebird.msg not found".
> I have tried to include the path of the message file in the url:
> "jdbc:firebirdsql:local:c:/Firebird/data/test.fdb?lc_messages=C:/Firebird_
> embed_win32/firebird.msg" but it doesn't work.

Try changing the URL to jdbc:firebirdsql:embedded:... though I am not sure
that this helps. It looks for the message file in the same directory where
main executable is. You can override this in firebird.conf 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 discussed with Dmitry Yemanov to add a possibility to search for
config in the current/working directory before/after checking the main
executable directory, but this is not possible, only either this or that.
And the current dir is not acceptable for other embedded users.