dropping incorrect parameters for tomcat