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