Working with tomcat