Hi,

I'm using a JSF framework with MyFaces 1.2.4 running on WebLogic 9.2.2. 
Upon visiting the first page of my application, I get the error below.  I
followed the link and cut and pasted the suggested text into my web.xml file
(even further below), but I still get the same error.  Any ideas what I'm
doing wrong? - Dave

===============Begin error stack trace =======================
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:389)
        at
org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:349)
        at
org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:279)
        at
org.apache.myfaces.webapp.filter.TomahawkFacesContextWrapper.(TomahawkFacesContextWrapper.java:115)
        at
org.apache.myfaces.webapp.filter.TomahawkFacesContextFactory.getFacesContext(TomahawkFacesContextFactory.java:85)
        at
javax.faces.webapp.FacesServlet.prepareFacesContext(FacesServlet.java:315)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:148)
        at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
        at
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:525)
        at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:261)
        at
com.comcast.nps.im.plugin.NPSIMIntercepter.doFilter(NPSIMIntercepter.java:101)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3229)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
        at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
        at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
================end error stack trace =======================



===================Begin web.xml file =====================
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
        <display-name>
        nps_history_gui</display-name>
        
        <filter>
        <filter-name>SSOFilter</filter-name>
        <filter-class>com.myco.nps.im.plugin.NPSIMIntercepter</filter-class>
        <init-param>    
                <param-name>filter_conf_file</param-name>
        
<param-value>/export/third-party/etsbea/application_conf/wls_9.2.2/nps_history_gui_conf/nps_im_plugIn.properties</param-value>
  
        </init-param>
        </filter>

        <filter-mapping>
            <filter-name>SSOFilter</filter-name>
            <url-pattern>/*</url-pattern>       
        </filter-mapping> 

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

        <!-- extension mapping for adding <script/>, <link/>, and other
resource tags to JSF-pages  -->
        <filter-mapping>
                <filter-name>MyFacesExtensionsFilter</filter-name>
                <!-- servlet-name must match the name of your
javax.faces.webapp.FacesServlet entry -->
                <servlet-name>Faces Servlet</servlet-name>
        </filter-mapping>

        <!-- extension mapping for serving page-independent resources
(javascript, stylesheets, images, etc.)  -->
        <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>
                <description>
                Sets properties of History UI app</description>
                <display-name>
                HistoryInitServlet</display-name>
                <servlet-name>HistoryInitServlet</servlet-name>
                <servlet-class>
                com.myco.nps_history.servlets.HistoryInitServlet</servlet-class>
        </servlet>
        <servlet-mapping>
                <servlet-name>Faces Servlet</servlet-name>
                <url-pattern>*.jsf</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
                <servlet-name>HistoryInitServlet</servlet-name>
                <url-pattern>/HistoryInitServlet</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
                <servlet-name>HistoryInitServlet</servlet-name>
                <url-pattern>/refresh</url-pattern>
        </servlet-mapping>
        <welcome-file-list>
                <welcome-file>index.html</welcome-file>
                <welcome-file>index.htm</welcome-file>
                <welcome-file>index.jsp</welcome-file>
                <welcome-file>default.html</welcome-file>
                <welcome-file>default.htm</welcome-file>
                <welcome-file>default.jsp</welcome-file>
        </welcome-file-list>
</web-app>
===================end web.xml file ======================
-- 
View this message in context: 
http://www.nabble.com/ExtensionsFilter-not-correctly-configured-tp19780660p19780660.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to