TeamcenterKnowledge

Maintenance utilities > Server manager

mgrstop

Shell script to cleanly stop the server manager for J2EE four-tier environments. A copy of this script is created in the directory TC_ROOT/pool_manager/confs/configuration-name by Teamcenter Environment Manager (TEM) for each installed server manager instance. Replace configuration-name with the server manager name. The name consists of the TEM configuration name and the server manager’s pool ID. On Linux systems, this script is launched by rc.tc.mgr_config when the stop action is requested. Note This command stops a server manager instance; it does not mark a Windows service as stopped. If the server manager is running as a Windows service, the Windows Services Manager attempts to restart the manager if the service is configured for restarting. A server manager running as a Windows service must be stopped from the Windows Services Manager. Syntax mgrstop [-Dimmediate] Arguments -Dimmediate Specifies whether the manager terminates all servers immediately rather than waiting for them to become idle (which is the default behavior). Environment None. Files Files in the TC_ROOT/pool_manager/confs/config directory. File Description mgr.tmp Temporary file written by the manager at startup and deleted when it exits. The file contains the values of the POOL_ID and the JMX_HTTP_ADAPTOR_PORT environment variables, which identify the server manager pool and the port on which it listens. password.txt (optional) Contains the user name and the encrypted password for the server manager administration interface. This file exists only if the user name or password has been changed using the server manager administration interface. Restrictions This script must be executed on the machine where the server manager is running. Examples To immediately shut down a server manager named PoolA in a server manager configuration named MyConfig, enter the following command on a single line: Copy /tc_root/pool_manager/confs/MyConfig_PoolA>mgrstop -Dimmediate

Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/mna1737253705286/iea1737253707494/xid608465.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)