web:cache-control-filter tag not available in Seam for EAP 5.1
Issue
Migration from Seam 2.2.1.CR1, EAP 4.3.0_CP06 to Seam 2.2.2.EAP5, EAP 5.1, JBossDS is giving following error for components.xml file. Seems "web:cache-control-filter" is not present in EAP 5.1 Seam.
JBossDS 'problems' window error message:
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'web:cache-control-filter'.
<web:cache-control-filter name="imageCacheControlFilter" regex-url-pattern=".*(\.gif|\.png|\.jpg|\.jpeg)" value="max-age=2592000"/>
<web:cache-control-filter name="cssJsCacheControlFilter" regex-url-pattern=".*(\.css|\.js)" value="max-age=2592000"/>
<web:cache-control-filter name="noCacheCacheControlFilter" regex-url-pattern=".*(/application/|/member/|/admin/).*\.seam" value="no-cache, no-store, must-revalidate"/>
Environment
JBoss Enterprise Application Platform 5.1
JBoss Developer Studio 4.0 (JBossDS)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.