Change 504726 to org.apache.catalina.deploy.FilterMap attempts to add support for '*' in web.xml filter- mapping servlet-name and url-mapping elements (http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/deploy/FilterMap.java? r1=467222&r2=504726). However it does not seem to work as a later validation step fails at about line 2156 in StandardContext. This code looks at the size of "servletName" and "urlPatterns" arrays from the FilterMap object. Since '*' doesn't get added as an element of these arrays, and is handled specially, this check will fail if no other url-mapping or servlet-name was specified. I assume the fix is just to take account of the matchAllServletNames and matchAllUrlPatterns flags too in this check.
*** This bug has been marked as a duplicate of bug 43338 ***