Ajax4jsf 1.1.1 and my old web.xml
andreiavramescu Jun 13, 2007 9:32 AMHi, I've replaced my previous 1.1.0 version with 1.1.1 version because I wanted to take advantage of the rowKeyVar attribute in the a4j:repeat tag.
But now my old project doesn't work as expected. Any advices on how to solve this problem?
My tomcat 5.5.23 gives me the folowing messages:
INFO: Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory Jun 13, 2007 4:07:41 PM org.ajax4jsf.cache.LRUMapCacheFactory createCache INFO: Creating LRUMap cache instance using parameters: {org.ajax4jsf.VIEW_HANDLERS=com.sun.facelets.FaceletViewHandler, javax.faces.DEFAULT_SUFFIX=.xhtml, javax.faces.STATE_SAVING_METHOD=client, facelets.REFRESH_PERIOD=2} Jun 13, 2007 4:07:41 PM org.ajax4jsf.cache.LRUMapCacheFactory createCache INFO: Creating LRUMap cache instance of default capacity Jun 13, 2007 4:07:41 PM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Jun 13, 2007 4:07:41 PM org.apache.catalina.core.StandardContext start
I have the folowing info in my web.xml file:
<listener> <listener-class>com.sun.faces.config.ConfigureListener</listener-class> </listener> <filter> <display-name>Ajax4jsf Filter</display-name> <filter-name>ajax4jsf</filter-name> <filter-class>org.ajax4jsf.Filter</filter-class> </filter> <filter-mapping> <filter-name>ajax4jsf</filter-name> <servlet-name>Faces Servlet</servlet-name> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <context-param> <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name> <param-value>com.sun.facelets.FaceletViewHandler</param-value> </context-param> <context-param> <param-name>facelets.REFRESH_PERIOD</param-name> <param-value>2</param-value> </context-param> <context-param> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> <param-value>client</param-value> </context-param> <context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.xhtml</param-value> </context-param> <session-config> <session-timeout>35</session-timeout> </session-config> <jsp-config> <taglib> <taglib-uri>http://java.sun.com/jsf/facelets</taglib-uri> <taglib-location>/WEB-INF/facelets.tld</taglib-location> </taglib> </jsp-config> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.htm</url-pattern> </servlet-mapping>