Bug Fixing in Tomcat configuration