Control: tags -1 moreinfo > deploy .war in tomcat10 > got errors from tomcat10 in "journalctl -f" > > * What exactly did you do that was effective ? > > change tomcat user home in /etc/passwd to /var/lib/tomcat10 > > * What was the outcome of this action? > > Problem solved
You most likely don't have to change the user home of tomcat to solve your problem (which you did not specify at all) There is a difference between the operating system user and home directory and the applications' home directory. See Debian bug https://bugs.debian.org/926338 for reference. You have to tell your tomcat applications explicitly if they can write or read certain file system directories. See /usr/share/doc/tomcat10/README.Debian for more information. By default Debian's tomcat package is meant to be secure. It is the task of the system administrator to configure tomcat correctly.
signature.asc
Description: This is a digitally signed message part