On a Mac, or a Linux Tomcat install, how do I determine what user was used last to start Tomcat? Is there information in the logs somewhere to that effect?
Assume that startup.sh and shutdown.sh are being used to control Tomcat. My best guess is the user(s) who have write access to Catalina.out are the most plausible suspects, but I wanted a hard and fast rule for determining who it is.
I am on Amazon Linux (RHEL equivalent) and starting Tomcat 7 normally as the tomcat user with sudo -u tomcat /opt/tomcat/bin/startup.sh. Tomcat starts up fine, deploys my application fine and logs the Server Startup in xxx ms message to catalina.out.