rectifying apache tomcat configuration