Fixed issues with tomcat installation.