The picture has changed a bit:

C:\apache-tomcat-9.0.84\bin>service.bat install
Installing the service 'Tomcat9' ...
Using CATALINA_HOME:    "C:\apache-tomcat-9.0.84"
Using CATALINA_BASE:    "C:\apache-tomcat-9.0.84"
Using JAVA_HOME:        "c:\Program Files\Java\jdk1.8.0_161"
Using JRE_HOME:         "c:\Program Files\Java\jdk1.8.0_161\jre"
Using JVM:              "c:\Program 
Files\Java\jdk1.8.0_161\jre\bin\server\jvm.dll"
Failed installing 'Tomcat9' service

C:\apache-tomcat-9.0.84\bin>
C:\apache-tomcat-9.0.84\logs\commons-daemon.2024-01-09.log :

[2024-01-09 14:57:32] [info]  [ 7400] Apache Commons Daemon procrun (1.3.4.0 
64-bit) started.
[2024-01-09 14:57:32] [info]  [ 7400] Running Service 'tomcat9'...
[2024-01-09 14:57:32] [error] [ 7400] StartServiceCtrlDispatcher for 'tomcat9' 
failed.
[2024-01-09 14:57:32] [error] [ 7400] Der Dienstprozess konnte keine Verbindung 
mit dem Dienstcontroller herstellen.
[2024-01-09 14:57:32] [error] [ 7400] Apache Commons Daemon procrun failed with 
exit value: 4 (failed to run service).
[2024-01-09 14:57:32] [error] [ 7400] Der Dienstprozess konnte keine Verbindung 
mit dem Dienstcontroller herstellen.


> Am 09.01.2024 um 14:31 schrieb Christoph Kukulies <k...@kukulies.org.INVALID>:
> 
> 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.
> 
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to