Salesforce

How to modify Windows Registry to temporarily add -keepservers to AdminServer shutdown from Windows services.

« Go Back

Information

 
TitleHow to modify Windows Registry to temporarily add -keepservers to AdminServer shutdown from Windows services.
URL Namehow-to-modify-windows-registry-to-temporarily-add-keepservers-to-adminserver-shutdown-from-windows-services
Article Number000195064
EnvironmentProduct: OpenEdge
Version: All supported versions
OS: All supported platforms
Other: AdminServer, AdminService
Question/Problem Description

How to stop AdminServer that was started by Windows Services and keep child processes (AppServers, WebSpeed, DataServers, etc.) started by AdminServer running.

How to stop the AdminService without stopping the UBrokers.

Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution

It will be necessary to modify the Windows Registry to perform this modification.

1) Click on the Windows search option and type regedit.exe
2) Right click regedit.exe and choose Run as Administrator (if not logged in as Administrator)
3) Open the hive HKEY_LOCAL_MACHINE\Software\PSC\AdminService
4) Find the version to be changed (may list multiple if there is more than one installation of OpenEdge)
5) Expand the hive for the appropriate version
6) Right click the hive for ShutdownCmd and select export (this is to preserve the original registry entry to add back later)
7) Enter a full path and file name to save the original registry key.
Example:

orig-shutdown-adminserver.reg

8) Edit the entry for Chimera
It should look similar to this:

"c:\dlc\bin\jvmstart" -a "c:\dlc\properties\AdminServerPlugins.properties"::PluginPolicy.Progress.AdminServer -o eventmgr -w @{WorkPath} @{JAVA\JREHOME}\bin\java -DInstall.Dir=@{Startup\DLC} -DWork.Dir=@{WorkPath} -Dadmsrv.jvm=@{JAVA\JREHOME}\bin\java com.progress.chimera.adminserver.AdminServerType -stop  -service

9)  Add -keepservers before the -stop -service
Example:

"c:\dlc\bin\jvmstart" -a "c:\dlc\properties\AdminServerPlugins.properties"::PluginPolicy.Progress.AdminServer -o eventmgr -w @{WorkPath} @{JAVA\JREHOME}\bin\java -DInstall.Dir=@{Startup\DLC} -DWork.Dir=@{WorkPath} -Dadmsrv.jvm=@{JAVA\JREHOME}\bin\java com.progress.chimera.adminserver.AdminServerType -keepservers -stop  -service
10)  Right click the hive for ShutdownCmd after the change and export this to a new name to save the new entry with the -keepservers. Enter a full path and file name to save the new registry key.
Example:
keepservers-shutdown-adminserver.reg
11)  Shutdown the AdminService from Windows Services and the AdminServer will stop but all its child processes (AppServer, Webspeed, Dataserver, etc) will remain running.

To stop the AdminServer and all its children double click on the original reg file created in step 7 to load the original version of the ShutdownCmd and stop the Service from Windows Services.

if in future it is necessary to stop only the AdminServer and not its child processes double click on the keepservers-shutdown-adminserver.reg to load the altered registry key.

NOTE: In general it is best to have the original registry key without the -keepservers as the normal entry in the Windows Registry so the shutdown behavior is the default to shutdown the AdminServer and its children.
 



 

Workaround
Notes
Keyword Phrase
Last Modified Date2/3/2025 11:23 AM

Powered by