-
1. Re: upgrade to richfaces 3.2.2 issue
ilya_shaikovsky Nov 27, 2008 5:18 AM (in response to mkaratas)please try to clean the caches carefully.
Also I could advice you to perform update at list to 3.2.2SR1 which has one more criticall fixed. Or even 3.3.0Beta1 which released a few days ago. -
2. Re: upgrade to richfaces 3.2.2 issue
mkaratas Nov 27, 2008 5:36 AM (in response to mkaratas)thank you for your fast reply ilya. i really appreciate it.
i try your suggestion. clean carefully the caches one more time and try again but it doesnt work. as you said i changed the richfaces libs with 3.2.2.SR1 but unfortunately doesnt work.
any other suggestion. i am really confused. i dont find any document about upgrade. -
3. Re: upgrade to richfaces 3.2.2 issue
nbelaevski Nov 27, 2008 6:59 AM (in response to mkaratas)Hi Mustafa,
Please post your web.xml here. -
4. Re: upgrade to richfaces 3.2.2 issue
mkaratas Nov 27, 2008 7:10 AM (in response to mkaratas)<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<display-name>tkwaive</display-name>
<!-- JSF implementation -->
<context-param>
<param-name>org.ajax4jsf.SKIN</param-name>
<param-value>#{skinBean.skin}</param-value>
</context-param>
<servlet-name>FacesServlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<servlet-mapping>
<servlet-name>FacesServlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<!-- Richfaces component -->
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<display-name>RichFacesFilter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>FacesServlet</servlet-name>
REQUEST
FORWARD
INCLUDE
</filter-mapping>
<!-- Session listeners -->
<listener-class>com.thy.tkwaive.session.MySessionListener
</listener-class>
<filter-name>SessionTimeoutFilter</filter-name>
<filter-class> com.thy.tkwaive.filter.SessionTimeoutFilter
</filter-class>
<filter-mapping>
<filter-name>SessionTimeoutFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- JSF redirect filter for .jsp pages -->
<filter-name>faces-redirect-filter</filter-name>
<filter-class> com.thy.tkwaive.filter.RedirectFilter </filter-class>
<filter-mapping>
<filter-name>faces-redirect-filter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<!-- Security Filter -->
<filter-name>mysecurityfilter</filter-name>
<filter-class>com.thy.tkwaive.filter.MySecurityFilter</filter-class>
<init-param>
<param-name>firstuse</param-name>
<param-value>yes</param-value>
</init-param>
<filter-mapping>
<filter-name>mysecurityfilter</filter-name>
<url-pattern>/pages/*</url-pattern>
REQUEST
FORWARD
</filter-mapping>
<!-- Session timeout -->
<session-config>
<session-timeout>10</session-timeout>
</session-config>
<!-- default welcome page list -->
<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> -
5. Re: upgrade to richfaces 3.2.2 issue
mkaratas Nov 27, 2008 9:54 AM (in response to mkaratas)any idea?
-
6. Re: upgrade to richfaces 3.2.2 issue
mkaratas Nov 28, 2008 2:22 AM (in response to mkaratas)I havent solved the problem yet. does anyone has any idea?
-
7. Re: upgrade to richfaces 3.2.2 issue
nbelaevski Nov 28, 2008 12:45 PM (in response to mkaratas)You have two <url-pattern>*.jsf</url-pattern>
<url-pattern>/faces/*</url-pattern> elements in servlet-mapping. This is not valid according to web-app.xsd. Change it to two <servlet-mapping> elements and this should start working