tomcat component cookbook