Subject | Re: [Firebird-Java] jdbc: message file not found |
---|---|
Author | Roman Rokytskyy |
Post date | 2005-09-12T21:17:56Z |
> I'am using firebird 1.5 embeded with jdbc. I become in someTry changing the URL to jdbc:firebirdsql:embedded:... though I am not sure
> 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.
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.
Roman