A few more observations: the tomcat9 service got installed nonetheless. I was able to chage the log path using tomcat9w afterwards. But the logs don't look nice, not to talk from seeing anything listening to port 8080:
[2024-01-09 14:19:27] [info] [ 9876] Apache Commons Daemon procrun (1.3.4.0 64-bit) started. [2024-01-09 14:19:27] [info] [ 9876] Running Service 'tomcat9'... [2024-01-09 14:19:27] [info] [ 6216] Starting service... [2024-01-09 14:19:27] [error] [ 6216] Missing service ImageFile. [2024-01-09 14:19:27] [error] [ 6216] ServiceStart returned 1. [2024-01-09 14:19:27] [info] [ 9876] Run service finished. [2024-01-09 14:19:27] [info] [ 9876] Apache Commons Daemon procrun finished. [2024-01-09 14:19:36] [info] [ 8044] Apache Commons Daemon procrun (1.3.4.0 64-bit) started. [2024-01-09 14:19:36] [info] [ 8044] Running Service 'tomcat9'... [2024-01-09 14:19:36] [info] [ 5340] Starting service... [2024-01-09 14:19:36] [error] [ 5340] Missing service ImageFile. [2024-01-09 14:19:36] [error] [ 5340] ServiceStart returned 1. [2024-01-09 14:19:36] [info] [ 8044] Run service finished. [2024-01-09 14:19:36] [info] [ 8044] Apache Commons Daemon procrun finished. [2024-01-09 14:21:25] [info] [ 1388] Apache Commons Daemon procrun (1.3.4.0 64-bit) started. [2024-01-09 14:21:25] [info] [ 1388] Running Service 'tomcat9'... [2024-01-09 14:21:25] [info] [ 3424] Starting service... [2024-01-09 14:21:25] [error] [ 3424] Missing service ImageFile. [2024-01-09 14:21:25] [error] [ 3424] ServiceStart returned 1. [2024-01-09 14:21:25] [info] [ 1388] Run service finished. [2024-01-09 14:21:25] [info] [ 1388] Apache Commons Daemon procrun finished. [2024-01-09 14:21:37] [info] [ 9840] Apache Commons Daemon procrun (1.3.4.0 64-bit) started. [2024-01-09 14:21:37] [info] [ 9840] Running Service 'tomcat9'... [2024-01-09 14:21:37] [info] [ 9876] Starting service... [2024-01-09 14:21:37] [error] [ 9876] Missing service ImageFile. [2024-01-09 14:21:37] [error] [ 9876] ServiceStart returned 1. [2024-01-09 14:21:37] [info] [ 9840] Run service finished. [2024-01-09 14:21:37] [info] [ 9840] Apache Commons Daemon procrun finished. > Am 09.01.2024 um 14:05 schrieb Christoph Kukulies <k...@kukulies.org.INVALID>: > > I'm trying to install Tomcat-9.0.84 under Windows 10 as a service. > I unpacked it under C:\apache-tomcat-9.0.84 and after creating a file > setenv.bat (as of the RUNNING.TXT document) > I ran: > > C:\apache-tomcat-9.0.84\bin>set CATALINA_HOME=C:\apache-tomcat-9.0.84" > > C:\apache-tomcat-9.0.84\bin>tomcat9 //IS > [2024-01-09 13:57:22] [warn] [10572] Failed to grant service user 'NT > AUTHORITY\LocalService' write permissions to log path > 'C:\WINDOWS\system32\LogFiles\Apache' due to error '19: Das Medium ist > schreibgesch³tzt.' > > C:\apache-tomcat-9.0.84\bin> > > This was done in a CMD Window with administrative rights. It's quite a couple > of years back I did a tomcat installation under Windows. > Some help appreciated. Thank you. > > -- > Christoph > >
smime.p7s
Description: S/MIME cryptographic signature