Hi I used service.bat with Tomcat 9 & 10. Works well when run as admin
John Orendt john.p.ore...@medtronic.com -----Original Message----- From: Thomas Hoffmann (Speed4Trade GmbH) <thomas.hoffm...@speed4trade.com.INVALID> Sent: Wednesday, February 9, 2022 12:58 PM To: Tomcat Users List <users@tomcat.apache.org>; W <w...@yahoo.com> Subject: AW: AW: Tomcat 9 cannot start on windows 10 as service Hello, it seems you have a quite rare configuration of your windows system if even procmon is not running. It sounds like the issue might not be Tomcat related. Is any group policy, like Software Restriction Policies in place in your company? Greetings, Thomas -----Ursprüngliche Nachricht----- Von: W <w...@yahoo.com.INVALID> Gesendet: Mittwoch, 9. Februar 2022 18:51 An: Tomcat Users List <users@tomcat.apache.org> Betreff: Re: AW: Tomcat 9 cannot start on windows 10 as service Thank you Thomas,I downloaded procmon from microsoft website, unzipped it, tried to run it (as administator), but got error: access was denied.Do you know what was wrong? I searched internet, all search result was talking about how to use it to solve problems, no onetalk the error of access denied from procmon itself. Thanks. On Tuesday, February 8, 2022, 10:00:38 PM PST, Thomas Hoffmann (Speed4Trade GmbH) <thomas.hoffm...@speed4trade.com.invalid> wrote: Hello, you can also use procmon from Microsoft to analyse the access denied message. You will see which user tries to access which directory and which permission was requested and missing. You need to provide filters to the program in order not getting lost in all the messages within procmon. Greetings, Thomas -----Ursprüngliche Nachricht----- Von: jonmcalexan...@wellsfargo.com.INVALID <jonmcalexan...@wellsfargo.com.INVALID> Gesendet: Mittwoch, 9. Februar 2022 06:11 An: users@tomcat.apache.org; w...@yahoo.com Betreff: RE: Tomcat 9 cannot start on windows 10 as service > -----Original Message----- > From: W <w...@yahoo.com.INVALID> > Sent: Tuesday, February 8, 2022 10:36 PM > To: users@tomcat.apache.org > Subject: Tomcat 9 can not start on windows 10 as service > > 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. Hi W, Kindly check which user is setup to run the Tomcat Service and make sure that that user has at least read/execute permissions to your CATALINA_HOME and CATALINA_BASE directory structures. (Note, this may be the same location depending on how you have configured Tomcat.) More than likely it's the Local System account. You will want to make sure that at least the webapps, work, temp, and logs directory have Modify permissions at a minimum for that user. Hope this helps, B KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB [ X ܚX KK[XZ[ \ \ ][ X ܚX P X ] \X K ܙ B ܈Y][ۘ[ [X[ K[XZ[ \ \ Z[ X ] \X K ܙ B --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org [CONFIDENTIALITY AND PRIVACY NOTICE] Information transmitted by this email is proprietary to Medtronic and is intended for use only by the individual or entity to which it is addressed, and may contain information that is private, privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please delete this mail from your records. To view this notice in other languages you can either select the following link or manually copy and paste the link into the address bar of a web browser: http://emaildisclaimer.medtronic.com