Subject RE: [firebird-support] Firebird Server (Service Startup)
Author Andre du Plessis
This is rather a less than elegant solution.

-----Original Message-----
From: Olivier Mascia [mailto:om@...]
Sent: Wednesday, January 07, 2004 12:11
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Firebird Server (Service Startup)

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






Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-support/

To unsubscribe from this group, send an email to:
firebird-support-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/