Hi all,
I have a problem with Tomahawk 1.1.5-SNAPSHOT and MyFaces 1.1.5.
When I try to use a t:panelTabbedPane I get the following Error:

2007-04-13 17:03:41,750 INFO
[org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] - Starting up
Tomahawk on the MyFaces-JSF-Implementation
2007-04-13 17:03:41,765 ERROR
[org.jboss.portal.server.servlet.CommandFilter] - Exception in command
invocation
org.apache.jasper.JasperException: ExtensionsFilter not correctly
configured. JSF mapping missing. JSF pages not covered. Please see:
http://myfaces.apache.org/tomahawk/extensionsFilter.html
        at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:85)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:66)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
        at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
        at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
        at
org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:106)
        at
org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:167)
        at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:175)
...

here is my web.xml configuration:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
<web-app>

        <display-name>MilestonePortletBeta</display-name>

        <context-param>
                <param-name>log4jConfigLocation</param-name>
                <param-value>/WEB-INF/log4j.properties</param-value>
        </context-param>
        
        <context-param>
                <param-name>contextConfigLocation</param-name>
                <param-value>
                        /WEB-INF/context/applicationContext.xml
                </param-value>
        </context-param>
<!-- 
        <context-param>
                <param-name>javax.faces.CONFIG_FILES</param-name>
                <param-value>/WEB-INF/faces-config.xml</param-value>
        </context-param>
 -->
        <context-param>
                <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
                <param-value>client</param-value>
        </context-param>

        <listener>
                <listener-class>
                        org.springframework.web.util.Log4jConfigListener
                </listener-class>
        </listener>
        
        <listener>
                <listener-class>
                        org.springframework.web.context.ContextLoaderListener
                </listener-class>
        </listener>

        <listener>
                <listener-class>
                        org.apache.myfaces.webapp.StartupServletContextListener
                </listener-class>
        </listener>
        
        <!-- SPRING WEITERLEITUNG -->
        <filter>
                <filter-name>RequestContextFilter</filter-name>
                <filter-class>
                        org.springframework.web.filter.RequestContextFilter
                </filter-class>
        </filter>
        
        <filter-mapping>
                <filter-name>RequestContextFilter</filter-name>
                <servlet-name>Faces Servlet</servlet-name>
        </filter-mapping>
        
        <!-- ACEGI -->
        <filter>
                <filter-name>AcegiSecurityFilter</filter-name>
                <filter-class>
                        org.acegisecurity.util.FilterToBeanProxy
                </filter-class>
                <init-param>
                        <param-name>targetBean</param-name>
                        <param-value>acegiFilterChainProxy</param-value>
                </init-param>
        </filter>

        <filter-mapping>
                <filter-name>AcegiSecurityFilter</filter-name>
                <url-pattern>/*</url-pattern>
                <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
        
        <!-- END ACEGI -->

        <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>*.faces</url-pattern>
        </servlet-mapping>
        
        <!-- MyFaces Tomahowk Filter -->
        
        <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>
                <description>Set the size limit for uploaded files.
                Format: 10 - 10 bytes
                            10k - 10 KB
                        10m - 10 MB
                        1g - 1 GB
                </description>
        </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>/WEB-INF/jsp/*</url-pattern>
        </filter-mapping>
        
        <!-- extension mapping for adding <script/>, <link/>, and other resource
tags to JSF-pages  -->
        <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        
        <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>*.faces</url-pattern>
    </filter-mapping>
    
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    
        
        
        <servlet>
                <servlet-name>FCK Faces Servlet</servlet-name>
                <servlet-class>org.fckfaces.util.Servlet</servlet-class>
                <load-on-startup>1</load-on-startup>
        </servlet>
        
        <servlet-mapping>
                <servlet-name>FCK Faces Servlet</servlet-name>
                <url-pattern>/fckfaces/*</url-pattern>
        </servlet-mapping>
        

        <welcome-file-list>
                <welcome-file>index.html</welcome-file>
        </welcome-file-list>
        
</web-app>

any suggestions?

thanks in advance,
OmidH
-- 
View this message in context: 
http://www.nabble.com/ExtensionsFilter-not-correctly-configured-tf3571200.html#a9977532
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to