fix up problems with tomcat recipe/template