"Daniel Dittmar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sap DB wrote: > >>....... > > > > 3) My service is running on same server than SapDB kernel, there is no > > dependance between those services. when I shutdown my server, all my > > ODBC/Sql command run an exception. This does not occurs if I stop my service > > before shutdown. How can I solve that ? I can not ask the administrator to > > stop services one by one before any shutdown if he want my application stop > > well. > > Isn't there some API where you can set dependencies between services? > ChangeServiceConfig has a parameter dependencies, where you can name > services that must start before your own. I don't know if this implies > that your service gets stopped before the dependent services. > > Daniel Dittmar >
I try the dependency setting, but my application still fail in an ODBC call (quite sure in the SapDB ODBC driver). Looking in the event viewer I did not see any log of SapDB stopping. but maybe event viewer service has already stopped !!! -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
