[get_proc_env] fix parsing on linux
[tomcat] add some support for system/package installed tomcat

and fix detection if catalina.sh is not executeable again