
Security for Automatic Restarts
Preventing the Service From Shutting Down When a User Logs Out
By default, the Java VM catches signals from Windows that indicate that the operating system is shutting down, or that a user is logging out, and shuts itself down cleanly. This behavior causes the Enterprise Server service to shut down when a user logs out of Windows. To prevent the service from shutting down when a user logs out, set the
To set the
<jvm-options>-Xrs</jvm-options>
If the Enterprise Server service is running, stop and restart the service for your changes to become effective.
Note – In some Windows 2003 Server installations, adding the
<process name="as-service-name">
...
<sysproperty key="-Xrs"/>
...
Security for Automatic Restarts
If you are using the cluster or enterprise profile, the administration passworda and master password are required when automatically restarting Enterprise Server. If you are using the Developer Profile, no
Handle the password and master password requirements for cluster and enterprise profiles in one of the following ways:
■On Microsoft Windows, configure the service to ask the user for the password.
1.In the Services Control Panel,
2.In the Properties window, click the Log On tab.
3.Check “Allow service to interact with desktop” to prompt for the required passwords when starting the component.
You have to log in to see the prompts, and entries are not echoed back as you type them. This method is the most secure way to use the services option, but user interaction is required before the service becomes available.
Appendix A • Automatically Restarting a Domain or Node Agent | 225 |