You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Igor Sluge <sl...@mail.ru.INVALID> on 2021/01/15 13:23:40 UTC
TomCat 9 service failed to start on Windows after TomCat 9 update
Hello,
I updated TomCat for my app to the latest TomCat 9.0.41 and after update TomCat service failed to start successfully as Windows service. I just see 404 error when trying to open the TomCat app. Also there are no logs at all in the log directory! If I start TomCat locally by the command tomcat9.exe" //TS//MyApp it started successfully.
OS: Windows 7 and Server 2012
Does anybody have any ideas of how to troubleshoot this issue?
Re: TomCat 9 service failed to start on Windows after TomCat 9 update
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Igor,
On 1/15/21 08:23, Igor Sluge wrote:
> I updated TomCat for my app to the latest TomCat 9.0.41 and after update TomCat service failed to start successfully as Windows service. I just see 404 error when trying to open the TomCat app. Also there are no logs at all in the log directory! If I start TomCat locally by the command tomcat9.exe" //TS//MyApp it started successfully.
> OS: Windows 7 and Server 2012
> Does anybody have any ideas of how to troubleshoot this issue?
What did you upgrade *from*?
When you upgraded, did you reinstall or otherwise update the Windows
Service definition?
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: TomCat 9 service failed to start on Windows after TomCat 9 update
Posted by Mark Thomas <ma...@apache.org>.
On 18/01/2021 04:40, Igor Sluge wrote:
>
> Hello,
> Thanks for your answer. Do you know is anyway to specify «Local System» user for «tomcat9.exe" //IS//» command
> via cmd?
--ServiceUser "LocalSystem"
should do it.
Mark
>> Пятница, 15 января 2021, 16:34 +03:00 от Robert Turner <rt...@e-djuster.ca>:
>>
>> I would check permissions on the folders/files. The account running the windows service may not have permissions to execute the programs or maybe access the directories. That's the first thing I would check. (Also check Event Viewer for any related messages).
>> On Fri, Jan 15, 2021 at 8:24 AM Igor Sluge < sluge@mail.ru.invalid > wrote:
>>
>>>
>>> Hello,
>>> I updated TomCat for my app to the latest TomCat 9.0.41 and after update TomCat service failed to start successfully as Windows service. I just see 404 error when trying to open the TomCat app. Also there are no logs at all in the log directory! If I start TomCat locally by the command tomcat9.exe" //TS//MyApp it started successfully.
>>> OS: Windows 7 and Server 2012
>>> Does anybody have any ideas of how to troubleshoot this issue?
>>>
>>>
>
>
> Bye, Igor
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re[3]: TomCat 9 service failed to start on Windows after TomCat 9 update
Posted by Igor Sluge <sl...@mail.ru.INVALID>.
Hello,
For all who is interested in how to do that: the following «--ServiceUser=LocalSystem» should be added to the «//IS//» command
>Понедельник, 18 января 2021, 7:40 +03:00 от Igor Sluge <sl...@mail.ru.invalid>:
>
>
>Hello,
>Thanks for your answer. Do you know is anyway to specify «Local System» user for «tomcat9.exe" //IS//» command
>via cmd?
>>Пятница, 15 января 2021, 16:34 +03:00 от Robert Turner < rturner@e-djuster.ca >:
>>
>>I would check permissions on the folders/files. The account running the windows service may not have permissions to execute the programs or maybe access the directories. That's the first thing I would check. (Also check Event Viewer for any related messages).
>>On Fri, Jan 15, 2021 at 8:24 AM Igor Sluge < sluge@mail.ru.invalid > wrote:
>>
>>>
>>>Hello,
>>>I updated TomCat for my app to the latest TomCat 9.0.41 and after update TomCat service failed to start successfully as Windows service. I just see 404 error when trying to open the TomCat app. Also there are no logs at all in the log directory! If I start TomCat locally by the command tomcat9.exe" //TS//MyApp it started successfully.
>>>OS: Windows 7 and Server 2012
>>>Does anybody have any ideas of how to troubleshoot this issue?
>>>
>>>
>
>Bye, Igor
>
Bye, Igor
Re[2]: TomCat 9 service failed to start on Windows after TomCat 9 update
Posted by Igor Sluge <sl...@mail.ru.INVALID>.
Hello,
Thanks for your answer. Do you know is anyway to specify «Local System» user for «tomcat9.exe" //IS//» command
via cmd?
>Пятница, 15 января 2021, 16:34 +03:00 от Robert Turner <rt...@e-djuster.ca>:
>
>I would check permissions on the folders/files. The account running the windows service may not have permissions to execute the programs or maybe access the directories. That's the first thing I would check. (Also check Event Viewer for any related messages).
>On Fri, Jan 15, 2021 at 8:24 AM Igor Sluge < sluge@mail.ru.invalid > wrote:
>
>>
>>Hello,
>>I updated TomCat for my app to the latest TomCat 9.0.41 and after update TomCat service failed to start successfully as Windows service. I just see 404 error when trying to open the TomCat app. Also there are no logs at all in the log directory! If I start TomCat locally by the command tomcat9.exe" //TS//MyApp it started successfully.
>>OS: Windows 7 and Server 2012
>>Does anybody have any ideas of how to troubleshoot this issue?
>>
>>
Bye, Igor
Re: TomCat 9 service failed to start on Windows after TomCat 9 update
Posted by Robert Turner <rt...@e-djuster.ca>.
I would check permissions on the folders/files. The account running the
windows service may not have permissions to execute the programs or maybe
access the directories. That's the first thing I would check. (Also check
Event Viewer for any related messages).
On Fri, Jan 15, 2021 at 8:24 AM Igor Sluge <sl...@mail.ru.invalid> wrote:
>
>
> Hello,
> I updated TomCat for my app to the latest TomCat 9.0.41 and after update
> TomCat service failed to start successfully as Windows service. I just see
> 404 error when trying to open the TomCat app. Also there are no logs at all
> in the log directory! If I start TomCat locally by the command
> tomcat9.exe" //TS//MyApp it started successfully.
> OS: Windows 7 and Server 2012
> Does anybody have any ideas of how to troubleshoot this issue?
>
>