1 Reply Latest reply on Apr 6, 2007 6:21 AM by Nick Belaevski

    javax.faces.FacesException: org.ajax4jsf.framework.DebugLife

    Bob Mano Newbie

      I encountered this exception and i'm totally stumped. Any help is appreciated. I'm very new ajax/jsf and here is my setup:
      JDK1.6, Eclipse 3.2.2, Exadel Studio Pro, Tomcat 5.5.17 that came with Exadel Studio Pro
      I've added the following libraries to the tomcat lib folder:
      jsf-api.jar, jsf-impl.jar, richfaces-3.0.x.jar,ajax4jsf.jar and oscache2.3.2.jar

      I wrote a simple app, a login page and a second page using rich faces components (panels, panelbars, trees, datatable). When i try to deploy the war, i get the following exception:

      com.sun.faces.config.rules.ComponentRule end
      WARNING: [ComponentRule]{faces-config/component} Merge(javax.faces.ViewRoot)
      javax.faces.FacesException: org.ajax4jsf.framework.DebugLifecycleFactory
      at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:553)
      at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:426)
      at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:229)
      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:702)
      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:398)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
      at org.apache.catalina.core.StandardService.start(StandardService.java:450)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
      Caused by: java.lang.InstantiationException: org.ajax4jsf.framework.DebugLifecycleFactory
      at java.lang.Class.newInstance0(Class.java:340)
      at java.lang.Class.newInstance(Class.java:308)
      at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:551)
      ... 20 more
      Apr 5, 2007 1:39:15 PM org.apache.catalina.core.StandardContext listenerStart
      SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
      javax.faces.FacesException: org.ajax4jsf.framework.DebugLifecycleFactory
      at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:553)
      at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:426)
      at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:229)
      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:702)
      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:398)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
      at org.apache.catalina.core.StandardService.start(StandardService.java:450)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
      Caused by: java.lang.InstantiationException: org.ajax4jsf.framework.DebugLifecycleFactory
      at java.lang.Class.newInstance0(Class.java:340)
      at java.lang.Class.newInstance(Class.java:308)
      at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:551)
      ... 20 more