add tomcat support