Consultor Eletrônico



Kbase P121438: AdminService stops but does not restart when using the Restart option in Windows Services
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/26/2009
Status: Verified

SYMPTOM(s):

AdminService stops but does not restart when using the Restart option in Windows Services

Attempting to stop and immediately restart the AdminService

AdminService fails to restart with a Windows error message

The AdminService for <Progress version> service on local computer started and then stopped

Windows Task Manager shows that java.exe processes are still running

AdminService will restart if java.exe processes are killed

Problem does not occur when stopping the AdminService and waiting for a short period before attempting to restart it

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
Windows

CAUSE:

The AdminService process itself (admsrvc.exe) has limited functionality. When AdminService is started, admsrvc.exe launches java.exe processes, which do the real work of launching the configurations defined in Progress Explorer, and then indicates that the service is started. When the AdminService is stopped, admsrvc.exe sends a signal to the java.exe processes telling them to shut down and then closes itself, indicating that the service is stopped. Since this process is asynchronous, it can happen that the AdminService will appear to be stopped whilst the java.exe processes are still working. These processes can block subsequent attempts to restart the AdminService.

FIX:

Allow a short time period between stopping and restarting the AdminService