You have probably chosen a name for the tomcat service during the installation. If yes, you need to replace the ‘’Apache Tomcat 10’’ with the name of the service you created.