modified tomcat metat.rb etc