1 Reply Latest reply on Mar 14, 2011 2:23 PM by Luca Graf

    RichFaces 4.0.0.CR1 runable project

    Mohammad Weshah Novice

      Dear All

      i can run a RichFaces Project 3.3.3 (JSF 2) on tomcat 6, but i tried many times and i waste alot of time to try running RichFaces 4.0.0.CR1 project on the same envirument i think there is a missing on my jar or configuration (i do all the configuration as the site told me). but what i want is a runable project (war) that i can start working on it to accept the time.

       

      i want JSF majoora not faclet

       

       

      Regards

      Wish79

       

      Mar 14, 2011 7:08:37 PM org.apache.catalina.core.AprLifecycleListener init

      INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Java/jre6/bin/client;C:/Java/jre6/bin;C:/Java/jre6/lib/i386;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Live\Shared;C:\Program Files\QuickTime Alternative\QTSystem\;C:\Program Files\Microsoft Network Monitor 3\;D:\eclipse-jee-helios-SR2-win32\eclipse;

      Mar 14, 2011 7:08:38 PM org.apache.tomcat.util.digester.SetPropertiesRule begin

      WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Rich4' did not find a matching property.

      Mar 14, 2011 7:08:38 PM org.apache.coyote.http11.Http11Protocol init

      INFO: Initializing Coyote HTTP/1.1 on http-8080

      Mar 14, 2011 7:08:38 PM org.apache.catalina.startup.Catalina load

      INFO: Initialization processed in 1223 ms

      Mar 14, 2011 7:08:38 PM org.apache.catalina.core.StandardService start

      INFO: Starting service Catalina

      Mar 14, 2011 7:08:38 PM org.apache.catalina.core.StandardEngine start

      INFO: Starting Servlet Engine: Apache Tomcat/6.0.32

      Mar 14, 2011 7:08:39 PM com.sun.faces.config.ConfigureListener contextInitialized

      INFO: Initializing Mojarra 2.1.0 (FCS FCS) for context '/rich4'

      Mar 14, 2011 7:08:42 PM com.sun.faces.config.ConfigManager initialize

      INFO: Unsanitized stacktrace from failed start...

      com.sun.faces.config.ConfigurationException:

        Source Document: jar:file:/C:/Users/BBTECH/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Rich4/WEB-INF/lib/richfaces-core-impl-4.0.0.20110227-CR1.jar!/META-INF/faces-config.xml

        Cause: Unable to create a new instance of 'org.richfaces.resource.ResourceHandlerImpl': java.lang.reflect.InvocationTargetException

          at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:293)

          at com.sun.faces.config.processor.ApplicationConfigProcessor.setResourceHandler(ApplicationConfigProcessor.java:752)

          at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:310)

          at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)

          at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)

          at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)

          at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222)

          at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:360)

          at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)

          at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)

          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

          at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)

          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

          at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

          at org.apache.catalina.core.StandardService.start(StandardService.java:525)

          at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)

          at org.apache.catalina.startup.Catalina.start(Catalina.java:595)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

      Caused by: java.lang.reflect.InvocationTargetException

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

          at java.lang.reflect.Constructor.newInstance(Unknown Source)

          at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:263)

          ... 23 more

      Caused by: java.lang.NoClassDefFoundError: com/google/common/base/Function

          at org.richfaces.resource.ResourceHandlerImpl.<init>(ResourceHandlerImpl.java:66)

          ... 28 more

      Caused by: java.lang.ClassNotFoundException: com.google.common.base.Function

          at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)

          at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)

          ... 29 more

      Mar 14, 2011 7:08:42 PM com.sun.faces.config.ConfigureListener contextInitialized

      SEVERE: Critical error during deployment:

      com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! com.google.common.base.Function

          at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:379)

          at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)

          at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)

          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

          at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)

          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

          at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

          at org.apache.catalina.core.StandardService.start(StandardService.java:525)

          at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)

          at org.apache.catalina.startup.Catalina.start(Catalina.java:595)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

      Caused by: java.lang.ClassNotFoundException: com.google.common.base.Function

          at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)

          at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)

          at org.richfaces.resource.ResourceHandlerImpl.<init>(ResourceHandlerImpl.java:66)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

          at java.lang.reflect.Constructor.newInstance(Unknown Source)

          at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:263)

          at com.sun.faces.config.processor.ApplicationConfigProcessor.setResourceHandler(ApplicationConfigProcessor.java:752)

          at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:310)

          at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)

          at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)

          at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)

          at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222)

          at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:360)

          ... 16 more

      Mar 14, 2011 7:08:42 PM org.apache.catalina.core.StandardContext listenerStart

      SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener

      java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! com.google.common.base.Function

          at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:292)

          at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)

          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

          at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)

          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

          at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

          at org.apache.catalina.core.StandardService.start(StandardService.java:525)

          at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)

          at org.apache.catalina.startup.Catalina.start(Catalina.java:595)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

      Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! com.google.common.base.Function

          at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:379)

          at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)

          ... 15 more

      Caused by: java.lang.ClassNotFoundException: com.google.common.base.Function

          at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)

          at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)

          at org.richfaces.resource.ResourceHandlerImpl.<init>(ResourceHandlerImpl.java:66)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

          at java.lang.reflect.Constructor.newInstance(Unknown Source)

          at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:263)

          at com.sun.faces.config.processor.ApplicationConfigProcessor.setResourceHandler(ApplicationConfigProcessor.java:752)

          at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:310)

          at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)

          at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)

          at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)

          at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222)

          at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:360)

          ... 16 more

      Mar 14, 2011 7:08:42 PM org.apache.catalina.core.StandardContext start

      SEVERE: Error listenerStart

      Mar 14, 2011 7:08:42 PM org.apache.catalina.core.StandardContext start

      SEVERE: Context [/rich4] startup failed due to previous errors

      Mar 14, 2011 7:08:42 PM com.sun.faces.config.ConfigureListener contextDestroyed

      SEVERE: Unexpected exception when attempting to tear down the Mojarra runtime

      java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory

          at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:815)

          at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:317)

          at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:112)

          at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:329)

          at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4244)

          at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4879)

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4749)

          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

          at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)

          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

          at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

          at org.apache.catalina.core.StandardService.start(StandardService.java:525)

          at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)

          at org.apache.catalina.startup.Catalina.start(Catalina.java:595)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

      Mar 14, 2011 7:08:42 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

      SEVERE: The web application [/rich4] created a ThreadLocal with key of type [javax.faces.context.FacesContext$1] (value [javax.faces.context.FacesContext$1@16eb6bc]) and a value of type [com.sun.faces.config.InitFacesContext] (value [com.sun.faces.config.InitFacesContext@19f03d7]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

      Mar 14, 2011 7:08:43 PM org.apache.coyote.http11.Http11Protocol start

      INFO: Starting Coyote HTTP/1.1 on http-8080

      Mar 14, 2011 7:08:43 PM org.apache.jk.common.ChannelSocket init

      INFO: JK: ajp13 listening on /0.0.0.0:8009

      Mar 14, 2011 7:08:43 PM org.apache.jk.server.JkMain start

      INFO: Jk running ID=0 time=0/70  config=null

      Mar 14, 2011 7:08:43 PM org.apache.catalina.startup.Catalina start

      INFO: Server startup in 4866 ms