Strip extension from context for Tomcat undeployer