When creating a Windows Service Application in Delphi, the TService class lists the services (or load ordering groups) on which the service depends. My question is: which are the dependencies for the TMS XDataServer component? I presume (at least) the Windows Http Service, but are there any others? My objective is, - by creating the necessary depencies -, that Windows will start my XDataServer not earlier then all the depent services are started.
Which are the Windows Service dependencies for XDataServer if it's running as a Service Application?
Good question. I never thought about it that way.
Having said that, I have an XData test server running as a service on a server without declaring dependencies and all runs OK; also after rebooting (ref. Example framework for XData with Sphinx authentication and authorization).
Of course your DB server will be an important service to consider (check) as well.
Hope this helps!
Hi Mark,
I have already quite a few Windows Services based on XDataServer in production. Usually, I do not encounter a problem when rebooting the server, but - although rare - it seems to happen now and then. I felt like: better save then sorry on this matter. Thx!
Gertjan
To be honest, I don't know. I also have several production XData servers running and I never cared about adding specific dependencies to them, for a vanilla server.
Thx Wagner! If you never encountered this, then it wont be much of a problem (otherwise you knew). For safety, I just keep the http dependencie.