fixed some unix stuff, upgraded tomcat