problems with tomcat (stackoverflow)