Fix tomcat configuration.