myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Mitev" <adrian.mi...@googlemail.com>
Subject Fitler missing exception
Date Sat, 10 Feb 2007 14:30:53 GMT
Hi all! I have troubles with myfaces and the extensionsFilter. I get the
following exception:


java.lang.IllegalStateException: ExtensionsFilter not correctly configured.
JSF mapping missing. JSF pages not covered. Please see:
http://myfaces.apache.org/tomahawk/extensionsFilter.html
        at
org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing
(AddResourceFactory.java:358)
        at
org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(
AddResourceFactory.java:318)
        at
org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(
AddResourceFactory.java:273)
        at
org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.addResourcesToHeader
(HtmlJSCookMenuRenderer.java:396)
        at
org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.encodeBegin
(HtmlJSCookMenuRenderer.java:355)
        at javax.faces.component.UIComponentBase.encodeBegin(
UIComponentBase.java:515)

Here is the mapping in web.xml:

    <filter>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter
</filter-class>
        <init-param>
            <param-name>maxFileSize</param-name>
            <param-value>20m</param-value>
        </init-param>
    </filter>

  <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>

    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
    </filter-mapping>

 <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>

I'm using tomahawk nightly build from 10.02.2007

Mime
View raw message