Thank Bill, I downloaded it and run it successfully. But when I modified confg/tomcat-users.xml (so I can use manager), Tomcat service stopped. Status became disabled. When I tried to restart the service, it told me that the service was marked for deletion. So I uninstalled tomcat by using "Add or remove program". It went through. But tomcat service is still in Service window and I can not remove it. How to remove it please?Thanks. On Wednesday, February 9, 2022, 07:03:21 AM PST, Bill Stewart <bstew...@iname.com> wrote: On Tue, Feb 8, 2022 at 9:37 PM W wrote:
Hi, > I install tomcat 9 using downloaded installation package. It was installed > successfully. I made tomcat manager working. I deployed my application... > Suddenly, tomcat stopped. Then I try to restart it using windows service. I > got error 5: access denied. I uninstalled tomcat and re-installed it. The > same thing happened. > Now I can go to tomcat\bin directory run startup.bat. It works. > What is wrong? How can I run it automatically using windows service? > Please. > Any information would be appreciated. Thanks in advance. For Windows users, I provided an alternative installer that might work better for you: https://github.com/Bill-Stewart/ApacheTomcatSetup It provides a means for specifying which account you want to use to run the Tomcat service (running as local system is definitely not recommended), and it also sets file system permissions appropriately. HTH Bill