This patch is not the best solution.
Committed to 3.0-beta@1349091, 2.2@1349092, thanks xiezhi for this patch!
upload 2 patched for this jira. The solution is to add a judgement for default servlet before throw a exception.
I have verified geronimo-tomcat7-javaee6-3.0-beta-1 and geronimo-tomcat6-javaee5-2.1.6.
2.1.6 works while 3.0-beta-1 fails.
Ivan has mentioned the merging work. It should be checked the difference between 2.1.6 and 3.0-beta-1.
Another case of this issue: https://issues.apache.org/jira/browse/GERONIMO-6126
Provided a simple test-case to create an ear with a single war that has a servlet mapping using the default servlet.
This works in geronimo-tomcat-2.2.1 while it fails for geronimo-jetty-2.2.1.