0 Replies Latest reply on Oct 31, 2011 4:35 PM by kraper07

    I'm getting this error "Exception starting filter richfaces: javax.faces.FacesException: Class: 'org.ajax4jsf.cache.LRUMapCacheFactory' does not implement CacheFactory"

    kraper07

      I'm fairly new to jBoss AS 7.  I have been able to deploy and use some of our code but this one is giving me trouble.  I think I have some conflicts in my richfaces jars, but don't know what I should be using.  Here's more of the log and the complete log is attached.

       

       

      14:13:28,772 INFO [stdout] (MSC service thread 1-2) ERROR [MSC service thread 1-2] (com.csc.fs.logging.FSCLoggerHandler:logError:112) - No configuration definitions in classpath for /ui/facesconfig/faces-config.xml 14:13:28,772 INFO [org.jboss.web] (MSC service thread 1-2) registering web context: /eAppAdmin

      14:13:29,116 ERROR [stderr] (MSC service thread 1-1) log4j:WARN No appenders could be found for logger (org.ajax4jsf.renderkit.ChameleonRenderKitFactory). 14:13:29,116 ERROR [stderr] (MSC service thread 1-1) log4j:WARN Please initialize the log4j system properly. 14:13:29,882 WARNING [javax.enterprise.resource.webcontainer.jsf.managedbean] (MSC service thread 1-1) JSF1074: Managed bean named 'pc_Logon' has already been registered. Replacing existing managed bean class type pagecode.authorization.Logon with pagecode.logon.Logon.

      14:13:29,882 WARNING [javax.enterprise.resource.webcontainer.jsf.managedbean] (MSC service thread 1-1) JSF1074: Managed bean named 'pc_Desktop' has already been registered. Replacing existing managed bean class type pagecode.DesktopParameters with pagecode.DesktopParameters.

      14:13:30,147 INFO [stdout] (MSC service thread 1-1) DEBUG [MSC service thread 1-1] (org.ajax4jsf.webapp.BaseFilter:init:147) - Init ajax4jsf filter with nane: richfaces 14:13:30,147 INFO [stdout] (MSC service thread 1-1) DEBUG [MSC service thread 1-1] (org.ajax4jsf.webapp.BaseFilter:init:156) - Init parameters :

      14:13:30,147 INFO [stdout] (MSC service thread 1-1) 14:13:30,147 INFO [stdout] (MSC service thread 1-1) DEBUG [MSC service thread 1-1] (org.ajax4jsf.webapp.BaseXMLFilter:init:97) - init XML filter service with class org.ajax4jsf.webapp.ConfigurableXMLFilter 14:13:30,147 INFO [stdout] (MSC service thread 1-1) INFO [MSC service thread 1-1] (org.ajax4jsf.cache.CacheManager:getCacheFactory:67) - Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory 14:13:30,163 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/eApps]] (MSC service thread 1-1) Exception starting filter richfaces: javax.faces.FacesException: Class: 'org.ajax4jsf.cache.LRUMapCacheFactory' does not implement CacheFactory

      at org.ajax4jsf.resource.InternetResourceService.init(InternetResourceService.java:109) [richfaces-impl-3.3.1.GA.jar:]

      at org.ajax4jsf.webapp.BaseFilter.init(BaseFilter.java:172) [richfaces-impl-3.3.1.GA.jar:]

      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

      at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3245) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3836) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

      at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_23-ea]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_23-ea]

      at java.lang.Thread.run(Thread.java:662) [:1.6.0_23-ea]

      Caused by: org.ajax4jsf.cache.CacheException: Class: 'org.ajax4jsf.cache.LRUMapCacheFactory' does not implement CacheFactory

      at org.ajax4jsf.cache.CacheManager.getCacheFactory(CacheManager.java:76) [richfaces-impl-3.3.1.GA.jar:]

      at org.ajax4jsf.resource.InternetResourceService.init(InternetResourceService.java:106) [richfaces-impl-3.3.1.GA.jar:]

      ... 10 more

      14:13:30,163 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-1) Error filterStart

      14:13:30,163 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-1) Context [/eApps] startup failed due to previous errors