Description of problem: In jboss-web.xml, <overlay> can be used to indicate a directory which is outside of the deployment. But symbolic links in the overlay directory are not followed and 404 is returned. This behaviour doesn't change even if <symbolic-linking-enabled> is enabled in the jboss-web.xml.
JBoss CLI has a command, deployment-overlay. It can overlay files, but not directories. Though this makes sense because a deployment can be remote.
Verified on EAP 6.4.7.CP.CR2
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.