Made tomcat directory finding more robust (via ps aux tomcat)