Subject | Finding the configuration file |
---|---|
Author | Nando Dessena |
Post date | 2004-05-29T12:13:18Z |
Hello,
I am using a private copy of Firebird 1.5 SS that is installed in a
subdirectory of my appserver and run by the appserver as an
application (not service).
The problem I have is that it refuses to start if the configuration
file is missing. This wouldn't be a problem per se, but the fact is
that it looks for the configuration file in the path specificed in the
registry if there is a "public" Firebird installation on the machine.
I want it to use the firebird.conf file that I put in its directory.
The documentation says that the FIREBIRD environment variable is
checked first, but whatever I put into that variable fbserver seems to
ignore it.
F. ex. I open a command prompt:
c:\myapp\fb\bin> set FIREBIRD=c:\myapp\fb
c:\myapp\fb\bin> fbserver.exe -a
It won't start. I have tried several variations:
c:\myapp\fb\bin> set FIREBIRD=c:\myapp\fb\
c:\myapp\fb\bin> set FIREBIRD=c:\myapp\fb\bin
c:\myapp\fb\bin> set FIREBIRD=c:\myapp\fb\bin\
with no luck.
Can anyone tell which is exactly the trail that Fb SS follows to get
to the configuration file, or point out what I'm doing wrong, or
suggest alternative ways to achieve what I need?
Thanks
--
Nando Dessena
mailto:nandod@...
======================================================
I support Firebird, I am a Firebird Foundation member!
Join today at http://www.firebirdsql.org/ff/foundation
======================================================
I am using a private copy of Firebird 1.5 SS that is installed in a
subdirectory of my appserver and run by the appserver as an
application (not service).
The problem I have is that it refuses to start if the configuration
file is missing. This wouldn't be a problem per se, but the fact is
that it looks for the configuration file in the path specificed in the
registry if there is a "public" Firebird installation on the machine.
I want it to use the firebird.conf file that I put in its directory.
The documentation says that the FIREBIRD environment variable is
checked first, but whatever I put into that variable fbserver seems to
ignore it.
F. ex. I open a command prompt:
c:\myapp\fb\bin> set FIREBIRD=c:\myapp\fb
c:\myapp\fb\bin> fbserver.exe -a
It won't start. I have tried several variations:
c:\myapp\fb\bin> set FIREBIRD=c:\myapp\fb\
c:\myapp\fb\bin> set FIREBIRD=c:\myapp\fb\bin
c:\myapp\fb\bin> set FIREBIRD=c:\myapp\fb\bin\
with no luck.
Can anyone tell which is exactly the trail that Fb SS follows to get
to the configuration file, or point out what I'm doing wrong, or
suggest alternative ways to achieve what I need?
Thanks
--
Nando Dessena
mailto:nandod@...
======================================================
I support Firebird, I am a Firebird Foundation member!
Join today at http://www.firebirdsql.org/ff/foundation
======================================================