You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by jo...@wellsfargo.com.INVALID on 2022/02/09 05:10:34 UTC

RE: Tomcat 9 cannot start on windows 10 as service

> -----Original Message-----
> From: W <wj...@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,


Re: Tomcat 9 cannot start on windows 10 as service

Posted by W <wj...@yahoo.com.INVALID>.
 Thanks for your reply.This is a laptop, not many users. I checked tomcat installed directory, all users have full access to that directory and subdirectories.I also changed the owner of that directory/subdirectory from admin to me. I still get "access denied" when I run tomcat service.
Thanks.
    On Tuesday, February 8, 2022, 09:10:47 PM PST, jonmcalexander@wellsfargo.com.INVALID <jo...@wellsfargo.com.invalid> wrote:  
 
 > -----Original Message-----
> From: W <wj...@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,


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

  

Re: AW: AW: Tomcat 9 cannot start on windows 10 as service

Posted by W <wj...@yahoo.com.INVALID>.
 Hi everyone,
I cleaned up my laptop and reboot it. .I use tomcat installation package from apache, I did not do anything extra. everything is okay now.It looks that there some corrupted files
Thanks.

    On Wednesday, February 9, 2022, 12:15:04 PM PST, Thomas Hoffmann (Speed4Trade GmbH) <th...@speed4trade.com.invalid> wrote:  
 
 Hello,

if it runs with service.bat, can you configure the service to use the same account?
Just to compare if the service runs with the same credentials.

Is the service currently running under system account?

Greetings,
Thomas


-----Ursprüngliche Nachricht-----
Von: Orendt, John <jo...@medtronic.com.INVALID> 
Gesendet: Mittwoch, 9. Februar 2022 20:51
An: Tomcat Users List <us...@tomcat.apache.org>
Betreff: RE: AW: Tomcat 9 cannot start on windows 10 as service

Hi

I used service.bat with Tomcat 9 & 10. Works well when run as admin

John Orendt
John.p.orendt@medtronic.com

-----Original Message-----
From: Thomas Hoffmann (Speed4Trade GmbH) <Th...@speed4trade.com.INVALID>
Sent: Wednesday, February 9, 2022 12:58 PM
To: Tomcat Users List <us...@tomcat.apache.org>; W <wj...@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 <wj...@yahoo.com.INVALID>
Gesendet: Mittwoch, 9. Februar 2022 18:51
An: Tomcat Users List <us...@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) <th...@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: jonmcalexander@wellsfargo.com.INVALID <jo...@wellsfargo.com.INVALID>
Gesendet: Mittwoch, 9. Februar 2022 06:11
An: users@tomcat.apache.org; wjlz@yahoo.com
Betreff: RE: Tomcat 9 cannot start on windows 10 as service

> -----Original Message-----
> From: W <wj...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

  

AW: AW: Tomcat 9 cannot start on windows 10 as service

Posted by "Thomas Hoffmann (Speed4Trade GmbH)" <Th...@speed4trade.com.INVALID>.
Hello,

if it runs with service.bat, can you configure the service to use the same account?
Just to compare if the service runs with the same credentials.

Is the service currently running under system account?

Greetings,
Thomas


-----Ursprüngliche Nachricht-----
Von: Orendt, John <jo...@medtronic.com.INVALID> 
Gesendet: Mittwoch, 9. Februar 2022 20:51
An: Tomcat Users List <us...@tomcat.apache.org>
Betreff: RE: AW: Tomcat 9 cannot start on windows 10 as service

Hi

I used service.bat with Tomcat 9 & 10. Works well when run as admin

John Orendt
John.p.orendt@medtronic.com

-----Original Message-----
From: Thomas Hoffmann (Speed4Trade GmbH) <Th...@speed4trade.com.INVALID>
Sent: Wednesday, February 9, 2022 12:58 PM
To: Tomcat Users List <us...@tomcat.apache.org>; W <wj...@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 <wj...@yahoo.com.INVALID>
Gesendet: Mittwoch, 9. Februar 2022 18:51
An: Tomcat Users List <us...@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) <th...@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: jonmcalexander@wellsfargo.com.INVALID <jo...@wellsfargo.com.INVALID>
Gesendet: Mittwoch, 9. Februar 2022 06:11
An: users@tomcat.apache.org; wjlz@yahoo.com
Betreff: RE: Tomcat 9 cannot start on windows 10 as service

> -----Original Message-----
> From: W <wj...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@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

RE: AW: Tomcat 9 cannot start on windows 10 as service

Posted by "Orendt, John" <jo...@medtronic.com.INVALID>.
Hi

I used service.bat with Tomcat 9 & 10. Works well when run as admin

John Orendt
John.p.orendt@medtronic.com

-----Original Message-----
From: Thomas Hoffmann (Speed4Trade GmbH) <Th...@speed4trade.com.INVALID>
Sent: Wednesday, February 9, 2022 12:58 PM
To: Tomcat Users List <us...@tomcat.apache.org>; W <wj...@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 <wj...@yahoo.com.INVALID>
Gesendet: Mittwoch, 9. Februar 2022 18:51
An: Tomcat Users List <us...@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) <th...@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: jonmcalexander@wellsfargo.com.INVALID <jo...@wellsfargo.com.INVALID>
Gesendet: Mittwoch, 9. Februar 2022 06:11
An: users@tomcat.apache.org; wjlz@yahoo.com
Betreff: RE: Tomcat 9 cannot start on windows 10 as service

> -----Original Message-----
> From: W <wj...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@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

AW: AW: Tomcat 9 cannot start on windows 10 as service

Posted by "Thomas Hoffmann (Speed4Trade GmbH)" <Th...@speed4trade.com.INVALID>.
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 <wj...@yahoo.com.INVALID> 
Gesendet: Mittwoch, 9. Februar 2022 18:51
An: Tomcat Users List <us...@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) <th...@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: jonmcalexander@wellsfargo.com.INVALID <jo...@wellsfargo.com.INVALID>
Gesendet: Mittwoch, 9. Februar 2022 06:11
An: users@tomcat.apache.org; wjlz@yahoo.com
Betreff: RE: Tomcat 9 cannot start on windows 10 as service

> -----Original Message-----
> From: W <wj...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

  

Re: AW: Tomcat 9 cannot start on windows 10 as service

Posted by W <wj...@yahoo.com.INVALID>.
 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) <th...@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: jonmcalexander@wellsfargo.com.INVALID <jo...@wellsfargo.com.INVALID> 
Gesendet: Mittwoch, 9. Februar 2022 06:11
An: users@tomcat.apache.org; wjlz@yahoo.com
Betreff: RE: Tomcat 9 cannot start on windows 10 as service

> -----Original Message-----
> From: W <wj...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

  

AW: Tomcat 9 cannot start on windows 10 as service

Posted by "Thomas Hoffmann (Speed4Trade GmbH)" <Th...@speed4trade.com.INVALID>.
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: jonmcalexander@wellsfargo.com.INVALID <jo...@wellsfargo.com.INVALID> 
Gesendet: Mittwoch, 9. Februar 2022 06:11
An: users@tomcat.apache.org; wjlz@yahoo.com
Betreff: RE: Tomcat 9 cannot start on windows 10 as service

> -----Original Message-----
> From: W <wj...@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