Fixing tomcat related configurations