3 Replies Latest reply on Sep 3, 2007 1:29 PM by diegofsv

    Problem on publishing content on the fly

    Bruno Arruda Newbie

      Hi ppl,

      When i try to publish new content(generally Managed Beans) with ajax4jsf-1.1.2 or richfaces 3.10 i get the following error and I need to restart the server. THis problem did not occur with the older versions, Thanks in advance.

      Besta regards,

      INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b07-FCS) for context '/TestOnline'
      javax.faces.FacesException: org.ajax4jsf.framework.renderer.ChameleonRenderKitFactory
       at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:556)
       at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
       at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
       at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1096)
       at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:543)
       at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:436)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
       at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3083)
       at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404)
       at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309)
       at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
       at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
       at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
       at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
       at java.lang.Thread.run(Unknown Source)
      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 javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:549)
       ... 15 more
      Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException)
       at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
       at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
       at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
       at org.apache.commons.digester.Digester.<init>(Digester.java:304)
       at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:146)
       at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:131)
       at org.ajax4jsf.framework.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java:202)
       at org.ajax4jsf.framework.renderer.ChameleonRenderKitFactory.<init>(ChameleonRenderKitFactory.java:62)
       ... 20 more
      Caused by: java.lang.NullPointerException
       at br.com.testonline.support.logger.Log4JRepositorySelector.getLoggerRepository(Log4JRepositorySelector.java:80)
       at org.apache.log4j.LogManager.getLogger(LogManager.java:179)
       at org.apache.log4j.Logger.getLogger(Logger.java:85)
       at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
       at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
       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 org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
       ... 27 more
      30/08/2007 13:11:32 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.renderer.ChameleonRenderKitFactory
       at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:556)
       at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
       at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
       at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1096)
       at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:543)
       at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:436)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
       at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3083)
       at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404)
       at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309)
       at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
       at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
       at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
       at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
       at java.lang.Thread.run(Unknown Source)
      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 javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:549)
       ... 15 more
      Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException)
       at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
       at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
       at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
       at org.apache.commons.digester.Digester.<init>(Digester.java:304)
       at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:146)
       at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:131)
       at org.ajax4jsf.framework.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java:202)
       at org.ajax4jsf.framework.renderer.ChameleonRenderKitFactory.<init>(ChameleonRenderKitFactory.java:62)
       ... 20 more
      Caused by: java.lang.NullPointerException
       at br.com.testonline.support.logger.Log4JRepositorySelector.getLoggerRepository(Log4JRepositorySelector.java:80)
       at org.apache.log4j.LogManager.getLogger(LogManager.java:179)
       at org.apache.log4j.Logger.getLogger(Logger.java:85)
       at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
       at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
       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 org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
       ... 27 more
      30/08/2007 13:11:32 org.apache.catalina.core.StandardContext start
      SEVERE: Error listenerStart
      30/08/2007 13:11:32 org.apache.catalina.core.StandardContext start