now everything works fine on tomcat