2 Replies Latest reply on Sep 1, 2009 7:41 AM by markitus

    JBOSS 5.1.0 GA - exception CONFIGURATION FAILED! org.ajax4js

      Hello, i've just upgraded the jboss version to the latest one (JBOSS 5.1.0 GA) and my app fails to deploy, prompting exceptions concerning conflicts or something with richfaces libraries. Please find below a piece of the exception trace:

      Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
      
      com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.ajax4jsf.renderkit.ChameleonRenderKitFactory
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)
       at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:60)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
       at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
       at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
       at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
       at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
       at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
       .....
      .....
      


      Does anyone has any idea why this is happening ?

      thanks for your help.


        • 1. Re: JBOSS 5.1.0 GA - exception CONFIGURATION FAILED! org.aja
          ilya_shaikovsky

          seems you have JSF libraries in your application and not considered the JSF bundled with Jboss itself. Just visit jboss server wiki to learn about context-param to ignore server bundled JSF.

          • 2. Re: JBOSS 5.1.0 GA - exception CONFIGURATION FAILED! org.aja

             

            "ilya_shaikovsky" wrote:
            seems you have JSF libraries in your application and not considered the JSF bundled with Jboss itself. Just visit jboss server wiki to learn about context-param to ignore server bundled JSF.


            thank you so much!! That was exactly the problem.
            I added the following lines to my web.xml :

            <context-param>
             <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
             <param-value>true</param-value>
            </context-param>
            


            and voila! it worked!!