1. Home
  2. Knowledge Base
  3. On premise
  4. Application Server
  5. How to run Tomcat service as a different user

How to run Tomcat service as a different user

Normally, the Tomcat service will run under the administrator account. When running the Tomcat service as an other user, this service can be started or stopped by the configured user, without administrator rights. This may help you ensure the server consistency.

1.Open the Windows services. 
restart1.png
2.Locate the Tomcat service and pen properties of the Tomcat service by right-clicking and select Properties.

Note: The typical Tomcat service of the Principal Toolbox application is: Apache Tomcat Tomcat8PT.

tomcat_service.png
3.There will pop up a window with the service properties.
tomcat_service_properties.png
4.Click the tab Log On.
tomcat_service_properties_logon_arcering.png
5.Select by Log on as: This account. Fill in a local username or a domain username. Save the settings by clicking the OK button
tomcat_service_properties_logon.png
6.Restart the Tomcat service.

Note: During restart users will be logged off and need to reconnect to the application!

Was this article helpful?

Related Articles