8 Replies Latest reply on May 24, 2010 2:14 AM by Ilya Shaikovsky

    Serious Problem with RF3.3.3.Final and JSF2.0

    Can Cobanoglu Newbie

      Hi all,

      I need a help about deploying rf 3.3.3 to my jsf 2.0 project. I m using GF v3 JEE Web6 and NetBeans IDE 6.8

      whenever i deploy 3.3.3 libs to my project i faces this error(it is below)

       

      Please help me!!!

       

       

      i added three jar files named:

      richfaces-api-3.3.3-FINAL

      richfaces-impl2-jsf2-3.3.3-FINAL

      richfaces-ui-3.3.3-FINAL

       

      my web.xml is

      <?xml version="1.0" encoding="UTF-8"?>
      <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
          <context-param>
              <param-name>javax.faces.PROJECT_STAGE</param-name>
              <param-value>Development</param-value>
          </context-param>
          <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>
          <session-config>
              <session-timeout>
                  30
              </session-timeout>
          </session-config>
          <welcome-file-list>
              <welcome-file>faces/index.xhtml</welcome-file>
          </welcome-file-list>
          <context-param>
              <param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>
              <param-value>true</param-value>
          </context-param>
          <!-- Plugging the "Blue Sky" skin into the project -->

       

          <context-param>

       

              <param-name>org.richfaces.SKIN</param-name>

       

              <param-value>blueSky</param-value>

       

          </context-param>

       

       

       

          <!-- Making the RichFaces skin spread to standard HTML controls -->

       

          <context-param>

       

              <param-name>org.richfaces.CONTROL_SKINNING</param-name>

       

              <param-value>enable</param-value>

       

          </context-param>

       

       

       

          <!-- Defining and mapping the RichFaces filter -->

       

          <filter>

       

              <display-name>RichFaces Filter</display-name>

       

              <filter-name>richfaces</filter-name>

       

              <filter-class>org.ajax4jsf.Filter</filter-class>

       

          </filter>

       

       

       

          <filter-mapping>

       

              <filter-name>richfaces</filter-name>

       

              <servlet-name>Faces Servlet</servlet-name>

       

              <dispatcher>REQUEST</dispatcher>

       

              <dispatcher>FORWARD</dispatcher>

       

              <dispatcher>INCLUDE</dispatcher>

       

          </filter-mapping>
      </web-app>

       

       

      Errorsss

       

      SEVERE: PWC1306: Startup of context /WebApplication11 failed due to previous errors
      SEVERE: PWC1305: Exception during cleanup after start failed
      org.apache.catalina.LifecycleException: PWC2769: Manager has not yet been started
              at org.apache.catalina.session.StandardManager.stop(StandardManager.java:892)
              at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5383)
              at com.sun.enterprise.web.WebModule.stop(WebModule.java:530)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:5211)
              at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
              at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1933)
              at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
              at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
              at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
              at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
              at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
              at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
              at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
              at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
              at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
              at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
              at java.lang.Thread.run(Thread.java:619)
      
      
      SEVERE: ContainerBase.addChild: start: 
      org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:5216)
              at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
              at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1933)
              at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
              at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
              at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
              at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
              at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
              at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
              at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
              at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
              at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
              at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
              at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
              at org.ajax4jsf.renderkit.ChameleonRenderKitFactory.<clinit>(ChameleonRenderKitFactory.java:50)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
              at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:586)
              at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:472)
              at javax.faces.FactoryFinder.access$400(FactoryFinder.java:139)
              at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:796)
              at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:306)
              at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:303)
              at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:220)
              at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:335)
              at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:223)
              at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4591)
              at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:535)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:5193)
              ... 38 more
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
              at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
              at org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:949)
              at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1420)
              ... 55 more
      
      
      WARNING: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
      java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:932)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
              at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1933)
              at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
              at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
              at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
              at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
              at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
              at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
              at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
              at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
              at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
              at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
              at java.lang.Thread.run(Thread.java:619)
      
      
      SEVERE: Exception while invoking class com.sun.enterprise.web.WebApplication start method
      java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
              at com.sun.enterprise.web.WebApplication.start(WebApplication.java:117)
              at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
              at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
              at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
              at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
              at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
              at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
              at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
              at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
              at java.lang.Thread.run(Thread.java:619)
      
      
      SEVERE: Exception while loading the app
      java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
              at com.sun.enterprise.web.WebApplication.start(WebApplication.java:117)
              at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
              at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
              at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
              at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
              at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
              at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
              at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
              at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
              at java.lang.Thread.run(Thread.java:619)
      
      
      INFO: Initializing Mojarra 2.0.2 (FCS b10) for context '/WebApplication11'
      SEVERE: PWC1306: Startup of context /WebApplication11 failed due to previous errors
      SEVERE: PWC1305: Exception during cleanup after start failed
      org.apache.catalina.LifecycleException: PWC2769: Manager has not yet been started
              at org.apache.catalina.session.StandardManager.stop(StandardManager.java:892)
              at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5383)
              at com.sun.enterprise.web.WebModule.stop(WebModule.java:530)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:5211)
              at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
              at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1933)
              at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
              at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
              at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
              at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
              at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
              at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
              at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
              at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
              at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
              at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
              at java.lang.Thread.run(Thread.java:619)
      
      
      SEVERE: ContainerBase.addChild: start: 
      org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:5216)
              at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
              at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1933)
              at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
              at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
              at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
              at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
              at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
              at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
              at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
              at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
              at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
              at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
              at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
              at org.ajax4jsf.renderkit.ChameleonRenderKitFactory.<clinit>(ChameleonRenderKitFactory.java:50)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
              at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:586)
              at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:472)
              at javax.faces.FactoryFinder.access$400(FactoryFinder.java:139)
              at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:796)
              at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:306)
              at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:303)
              at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:220)
              at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:335)
              at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:223)
              at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4591)
              at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:535)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:5193)
              ... 38 more
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
              at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
              at org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:949)
              at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1420)
              ... 55 more
      
      
      WARNING: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
      java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:932)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
              at com.sun.enterprise.web.WebCon