Fixing Apache Tomcat Problem