EAP 7 returns 404s for any static content served from a directory starting with WEB-INF or META-INF

Solution Verified - Updated

Environment

  • JBoss Enterprise Application Platform (EAP) 7.x

Issue

  • Our application serves static content from some directories that start with WEB-INF or META-INF (such as WEB-INFOOBAR or META-INFOOBAR). After moving to EAP 7, we now get 404s for any of this content. This worked previously on EAP 6 or Tomcat.

Resolution

  • Upgrade to EAP 7.4.1+

Root Cause

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.