When Fedora used systemV init you could define a specific user for a specific tomcat
instance in /etc/systconfig/tomcat-[myinstance] by adding a line TOMCAT_USER=„mytomcat“.
In Fedora 26 with systemd you can define different Tomcat instances but the above
mechanism doesn’t work anymore. I checked the starter script and couldn’t identify a way
to define an instance specific user.
Well, does anybody know how I can achieve this?
My issue is: If my instances are all executing as the same user I get sometimes an „Too
many open files“ error message and the instance stops executing. In RHEL it helps to
define separate users per instance. The other instances were not affected by the broken
one.
Thanks
Peter