You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2022/04/19 18:57:54 UTC

[Bug 66018] tomcat8.exe and tomcat9.exe when creating a service via command line requires --LogPath

https://bz.apache.org/bugzilla/show_bug.cgi?id=66018

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX
                 OS|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
This has always been an expectation but it hasn't always been enforced.

The change of default service user in Daemon 1.2.0 from LocalSystem to
LocalService means that the default log path is no longer valid.

A change in 1.3.0 means that this now triggers an error during service
configuration but the error message gets lost. The expectation is that Daemon
1.3.1 will address this by writing an error message to stdout and performing
appropriate clean-up.

The workaround is to ensure that the configured (or default) user has
read/write access to the configured (or default) log path - which is what has
always been expected.

Note the location of the Daemon logs is configured separately from the location
of Tomcat log files - even if they use the same directory.

Resolving as WONTFIX as this will get addressed in Commons Daemon.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org