add tomcat tricks