I am running three java applications say A,B,C as windows services with A having dependency on B and B having dependency on C.
Which means when you start A, It shall automatically start service B and C (Java programs running). And also when you stop C ,it shall stop first B and then A.
Problem I am facing is when you stop C, windows first stop A then B.
I am able to register java applications as windows services with dependency but problem is when u stop service, Windows send signal to all the dependent services to stop and thus I am not able to control order in which services stop
Help is appreciated
posted 11 years ago
This seems to be more of a Windows issue than a Java issue, so I'm moving this thread to "General Computing".