TeamcenterKnowledge

System Administration > Server manager > Teamcenter management console

Run the Teamcenter management console as a service

Teamcenter Environment Manager (TEM) and Deployment Center install the Teamcenter management console in console mode. Perform the following steps to run the Teamcenter management console as a Windows service or as a Linux service. Run the Teamcenter management console as a Windows service Procedure Start the Teamcenter management console on Windows. At a command prompt, type the following command: Copy feature:install wrapper This provides a new command to install Apache Karaf as a Windows service, for example: Copy karaf@JETIMgmt()> feature:install wrapper At a command prompt, type the following command: Copy wrapper:install -s AUTO_START -n service-name -d display_service_name -D service_description For example: Copy karaf@JETIMgmt()> wrapper:install -s AUTO_START -n Tc-Mgmt-Console-Container -d Tc-Mgmt-Console-Container -D "Teamcenter Management Console" Following is an example of the output: Copy Creating file: D:\workdir\user_tc\out\rt\mgmt_console\container\bin\Tc-Mgmt-Console-Container-wrapper.exe Creating file: D:\workdir\user_tc\out\rt\mgmt_console\container\bin..\etc\Tc-Mgmt-Console-Container-wrapper.conf Creating file: D:\workdir\user_tc\out\rt\mgmt_console\container\bin\Tc-Mgmt-Console-Container-service.bat Creating file: D:\workdir\user_tc\out\rt\mgmt_console\container\lib\wrapper.dll Creating file: D:\workdir\user_tc\out\rt\mgmt_console\container\lib\karaf-wrapper.jar Creating file: D:\workdir\user_tc\out\rt\mgmt_console\container\lib\karaf-wrapper-main.jar Setup complete. You may wish to tweak the JVM properties in the wrapper configuration file: D:\workdir\user_tc\out\rt\mgmt_console\container\bin..\etc\Tc-Mgmt-Console-Container-wrapper.conf before installing and starting the service. MS Windows system detected: To install the service, run: C:>D:\workdir\user_tc\out\rt\mgmt_console\container\bin\Tc-Mgmt-Console-Container-service.bat install Once installed, to start the service run: C:> net start "Tc-Mgmt-Console-Container" Once running, to stop the service run: C:> net stop "Tc-Mgmt-Console-Container" Once stopped, to remove the installed the service run: C:> D:\workdir\user_tc\out\rt\mgmt_console\container\bin\Tc-Mgmt-Console-Container-service.bat remove After setup is completed, follow the instructions to install and start the service on Windows. For example, to install the Windows service, use a command similar to the following: Copy D:\workdir\user_tc\out\rt\mgmt_console\container\bin\Tc-Mgmt-Console-Container-service.bat install To start the Windows service, use a command similar to the following: Copy net start "Tc-Mgmt-Console-Container" Run the Teamcenter management console as a Linux service Procedure Start the Teamcenter management console on Linux as root user. Press the Enter key to bring up a Karaf command prompt. Example karaf@JETIMgmt()> At the Karaf command prompt, press the tab key to list all possible commands. Type the following: Copy feature:install wrapper At the Karaf command prompt, press the tab key again to list all possible commands. You will see the wrapper:install command. Example Copy feature:install wrapper Using the following pattern, type the command to set up your service: Copy wrapper:install -s AUTO_START -n service-name -d display_service_name -D service_description For example: Copy karaf@JETIMgmt> wrapper:install -s AUTO_START -n Tc_MgmtConsole_Lnx_Service -d Tc_MgmtConsole_Lnx -D "Teamcenter Management Console" Following is an example of the output: Copy Creating file: /apps/tc/ora/TR/mgmt_console/container/bin/Tc_MgmtConsole_Lnx_Service-wrapper Creating file: /apps/tc/ora/TR/mgmt_console/container/bin/Tc_MgmtConsole_Lnx_Service-service Creating file: /apps/tc/ora/TR/mgmt_console/container/etc/Tc_MgmtConsole_Lnx_Service-wrapper.conf Creating file: /apps/tc/ora/TR/mgmt_console/container/lib/libwrapper.so Creating file: /apps/tc/ora/TR/mgmt_console/container/lib/karaf-wrapper.jar Setup complete. You may wish to tweak the JVM properties in the wrapper configuration file: /apps/tc/ora/TR/mgmt_console/container/etc/Tc_MgmtConsole_Lnx_Service-wrapper.conf before installing and starting the service. The way the service is installed depends upon your flavor of Linux. On Redhat/Fedora/CentOS Systems: To install the service: $ ln -s /apps/tc/ora/TR/mgmt_console/container/bin/ Tc_MgmtConsole_Lnx_Service-service/etc/init.d/ $ chkconfig Tc_MgmtConsole_Lnx_Service-service --add To start the service when the machine is rebooted: $ chkconfig Tc_MgmtConsole_Lnx_Service-service on To disable starting the service when the machine is rebooted: $ chkconfig Tc_MgmtConsole_Lnx_Service-service off To start the service: $ service Tc_MgmtConsole_Lnx_Service-service start To stop the service: $ service Tc_MgmtConsole_Lnx_Service-service stop To uninstall the service: $ chkconfig Tc_MgmtConsole_Lnx_Service-service --del $ rm /etc/init.d/Tc_MgmtConsole_Lnx_Service-service On Ubuntu/Debian Systems: To install the service: $ ln -s /apps/tc/ora/TR/mgmt_console/container/bin/ Tc_MgmtConsole_Lnx_Service-service/etc/init.d/ To start the service when the machine is rebooted: $ update-rc.d Tc_MgmtConsole_Lnx_Service-service defaults To disable starting the service when the machine is rebooted: $ update-rc.d -f Tc_MgmtConsole_Lnx_Service-service remove To start the service: $/etc/init.d/Tc_MgmtConsole_Lnx_Service-service start To stop the service: $/etc/init.d/Tc_MgmtConsole_Lnx_Service-service stop To uninstall the service: $ rm /etc/init.d/Tc_MgmtConsole_Lnx_Service-service After setup is completed, follow the instructions to install and start the service based on your Linux operating system. For example, on SUSE Linux, enter the following command to install the service: Copy linux-host:/apps/tc/ora/TR/mgmt_console/container # ln -s /apps/tc/ora/TR/mgmt_console/container/bin/Tc_MgmtConsole_Lnx_Service-service/etc/init.d/ linux-host:/apps/tc/ora/TR/mgmt_console/container # chkconfig Tc_MgmtConsole_Lnx_Service-service --add Following is an example of the output to add the service: Copy Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overridden by native systemd configuration. If you want to list systemd services use 'systemctl list-unit-files'. To see services enabled on particular target use 'systemctl list-dependencies [target]'. Tc_MgmtConsole_Lnx_Service-service 0:off 1:off 2:on 3:on 4:off 5:on 6:off To start the service, use a command similar to the following: Copy linux-host:/apps/tc/ora/TR/mgmt_console/container # service Tc_MgmtConsole_Lnx_Service-service start

Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/AWAdmin/fhs4814155880506/moj1737238607512/yhr1737238607613/xid1263560.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)