Subject Re: [firebird-support] Firebird Server (Service Startup)
Author Olivier Mascia
Dear,

On Wed, 7 Jan 2004 10:01:52 +0200,
Andre du Plessis wrote :

> The problem is that I have other services which are dependent on the
> firebird service
> ...
> but it appears that the firebird
> Service is not completely initialized/started after the Start service
> control request was sent to it and processed, because my service
> Tries to query the database too soon, and I keep on getting funny errors and
> have to restart my service.
> ...
> ...how can I from my
> service wait for the firebird service to completely initialize,

If your own service correctly depends on Firebird engine service, then
the most important thing is done. I would suggest to just add a Wait
(30 sec) in the startup of your own service application. That should
leave plently of time for the firebird engine to be ready. Honestly,
seeing the time to boot Windows, a 30 sec pause before your
application service actually starts is probably nothing important.

--
Best Regards,
Olivier Mascia