8 Replies Latest reply on May 21, 2015 11:43 AM by Siva P

    Migration of RF3.3 to 4.5.5

    Siva P Master

      Hello,

       

      Currently i am migrating my application from 3.3 to 4.5.5.I am facing some errors like below.

      This is client-behavior-renderer-class related error.

      16:22:46,996 WARN  [org.jboss.modules] (MSC service thread 1-6) Failed to define class org.ajax4jsf.renderkit.AjaxBehaviorRenderer in Module "deployment.SimpleReporting.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/ajax4jsf/renderkit/AjaxBehaviorRenderer (Module "deployment.SimpleReporting.war:main" from Service Module Loader)

          at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:428) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.Module.loadModuleClass(Module.java:548) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:189) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.as.jsf.deployment.JSFAnnotationProcessor.deploy(JSFAnnotationProcessor.java:113)

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71]

          at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71]

      Caused by: java.lang.NoClassDefFoundError: javax/faces/render/ClientBehaviorRenderer

          at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_71]

          at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [rt.jar:1.7.0_71]

          at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:345) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:423) [jboss-modules.jar:1.3.0.Final-redhat-2]

          ... 15 more

      Caused by: java.lang.ClassNotFoundException: javax.faces.render.ClientBehaviorRenderer from [Module "deployment.SimpleReporting.war:main" from Service Module Loader]

          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]

          ... 19 more

      16:22:47,000 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.unit."SimpleReporting.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."SimpleReporting.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "SimpleReporting.war"

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71]

          at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71]

      Caused by: java.lang.LinkageError: Failed to link org/ajax4jsf/renderkit/AjaxBehaviorRenderer (Module "deployment.SimpleReporting.war:main" from Service Module Loader)

          at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:428) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.Module.loadModuleClass(Module.java:548) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:189) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.as.jsf.deployment.JSFAnnotationProcessor.deploy(JSFAnnotationProcessor.java:113)

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

          ... 5 more

      Caused by: java.lang.NoClassDefFoundError: javax/faces/render/ClientBehaviorRenderer

          at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_71]

          at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [rt.jar:1.7.0_71]

          at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:345) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:423) [jboss-modules.jar:1.3.0.Final-redhat-2]

          ... 15 more

      Caused by: java.lang.ClassNotFoundException: javax.faces.render.ClientBehaviorRenderer from [Module "deployment.SimpleReporting.war:main" from Service Module Loader]

          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]

          ... 19 more

       

      16:22:47,074 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "SimpleReporting.war" (runtime-name : "SimpleReporting.war")

      16:22:47,077 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."SimpleReporting.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."SimpleReporting.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "SimpleReporting.war"

       

       

      Web.xml

      <filter> and <filtermapping> both the sections are commented.

      <?xml version="1.0" encoding="UTF-8"?>
      <web-app id="WebApp_ID" 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">
          <display-name>SimpleReporting</display-name>
          <context-param>
              <param-name>facelets.DEVELOPMENT</param-name>
              <param-value>true</param-value>
          </context-param>
          <context-param>
              <param-name>facelets.REFRESH_PERIOD</param-name>
              <param-value>-1</param-value>
          </context-param>
          <context-param>
              <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
              <param-value>.xhtml</param-value>
          </context-param>
          <context-param>
              <param-name>org.jboss.jbossfaces.JSF_CONFIG_NAME</param-name>
              <param-value>Mojarra-1.2</param-value>
          </context-param>
      
          <context-param>
              <param-name>com.sun.faces.responseBufferSize</param-name>
              <param-value>100000</param-value>
          </context-param>
      
          <context-param>
              <param-name>facelets.BUFFER_SIZE</param-name>
              <param-value>100000</param-value>
          </context-param>
      
      
          <context-param>
              <param-name>com.sun.faces.externalizeJavaScript</param-name>
              <param-value>true</param-value>
          </context-param>
      
      
          <context-param>
              <param-name>org.richfaces.SKIN</param-name>
              <param-value>blueSky</param-value>
          </context-param>
          <!-- <filter>
              <filter-name>Seam Filter</filter-name>
              <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
          </filter>
          <filter-mapping>
              <filter-name>Seam Filter</filter-name>
              <url-pattern>/*</url-pattern>
          </filter-mapping> -->
          <listener>
              <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
          </listener>
          <servlet>
              <servlet-name>Faces Servlet</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
          </servlet>
          <servlet>
              <servlet-name>Seam Resource Servlet</servlet-name>
              <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
          </servlet>
          <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.seam</url-pattern>
          </servlet-mapping>
          <servlet-mapping>
              <servlet-name>Seam Resource Servlet</servlet-name>
              <url-pattern>/seam/resource/*</url-pattern>
          </servlet-mapping>
          <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
              <welcome-file>reporting.xhtml</welcome-file>
          </welcome-file-list>
          <security-constraint>
              <display-name>Restrict raw XHTML Documents</display-name>
              <web-resource-collection>
                  <web-resource-name>XHTML</web-resource-name>
                  <url-pattern>*.xhtml</url-pattern>
              </web-resource-collection>
              <auth-constraint />
          </security-constraint>
      </web-app>
      
      
      
      

       

      Jar files in Classpath:

      jarFile1.png

      jarFile2.png

       

      I am using Jboss EAP6.2 and followed all the configuration as like in the below link,

      http://docs.jboss.org/seam/2.3.0.Final/reference/en-US/html/migration23.html

       

      While starting the jboss server i am getting the exception.

      Any help regarding the migration topic will be really helpful for me.

       

      Thanks,

      Siva

        • 1. Re: Migration of RF3.3 to 4.5.5
          Sathish Kumar Newbie

          I think you miss the following jar files.

          1. cssparser.jar
          2. guava.jar
          3. sac.jar

          Please download this jar and place it in the WEB-INF/lib.

           

          Thanks

          • 2. Re: Migration of RF3.3 to 4.5.5
            Siva P Master

            Hi Sathish,

             

            Thank you for your reply.The error is not related to these jar file.By adding those jar files will also results in same.

            Thank you.

            • 3. Re: Migration of RF3.3 to 4.5.5
              Michal Petrov Master

              javax.faces.render.ClientBehaviorRenderer is from jsf-api which is provided by EAP, so it should be found. The only thing related to that seems to be "org.jboss.jbossfaces.JSF_CONFIG_NAME"; you have it set to Mojarra-1.2 which certainly isn't compatible with RichFaces 4 but I don't know if that's the problem.

              • 4. Re: Migration of RF3.3 to 4.5.5
                Siva P Master

                Hi Michal Petrov,

                 

                Thank you for your reply.Really New richfaces is bugging with Jboss EAP6.2.

                How to resolve the problem?

                • 5. Re: Migration of RF3.3 to 4.5.5
                  Siva P Master

                  Hi,

                   

                  I am getting the below error,

                  How to proceed further with migration to richfaces 4.x version,

                  18:05:14,903 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-6) JNDI bindings for session bean named EjbSynchronizations in deployment unit deployment "SimpleReporting.war" are as follows:

                   

                      java:global/SimpleReporting/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations

                      java:app/SimpleReporting/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations

                      java:module/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations

                      java:global/SimpleReporting/EjbSynchronizations

                      java:app/SimpleReporting/EjbSynchronizations

                      java:module/EjbSynchronizations

                   

                  18:05:14,903 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-6) JNDI bindings for session bean named TimerServiceDispatcher in deployment unit deployment "SimpleReporting.war" are as follows:

                   

                      java:global/SimpleReporting/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher

                      java:app/SimpleReporting/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher

                      java:module/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher

                      java:global/SimpleReporting/TimerServiceDispatcher

                      java:app/SimpleReporting/TimerServiceDispatcher

                      java:module/TimerServiceDispatcher

                   

                  18:05:14,981 WARN  [org.jboss.modules] (MSC service thread 1-2) Failed to define class org.richfaces.renderkit.ComponentControlBehaviorRenderer in Module "deployment.SimpleReporting.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/richfaces/renderkit/ComponentControlBehaviorRenderer (Module "deployment.SimpleReporting.war:main" from Service Module Loader)

                      at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:428) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.Module.loadModuleClass(Module.java:548) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:189) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.as.jsf.deployment.JSFAnnotationProcessor.deploy(JSFAnnotationProcessor.java:113)

                      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71]

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71]

                      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71]

                  Caused by: java.lang.NoClassDefFoundError: javax/faces/render/ClientBehaviorRenderer

                      at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_71]

                      at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [rt.jar:1.7.0_71]

                      at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:345) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:423) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      ... 15 more

                  Caused by: java.lang.ClassNotFoundException: javax.faces.render.ClientBehaviorRenderer from [Module "deployment.SimpleReporting.war:main" from Service Module Loader]

                      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      ... 19 more

                   

                  18:05:14,983 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."SimpleReporting.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."SimpleReporting.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "SimpleReporting.war"

                      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71]

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71]

                      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71]

                  Caused by: java.lang.LinkageError: Failed to link org/richfaces/renderkit/ComponentControlBehaviorRenderer (Module "deployment.SimpleReporting.war:main" from Service Module Loader)

                      at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:428) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.Module.loadModuleClass(Module.java:548) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:189) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.as.jsf.deployment.JSFAnnotationProcessor.deploy(JSFAnnotationProcessor.java:113)

                      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

                      ... 5 more

                  Caused by: java.lang.NoClassDefFoundError: javax/faces/render/ClientBehaviorRenderer

                      at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_71]

                      at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [rt.jar:1.7.0_71]

                      at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:345) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:423) [jboss-modules.jar:1.3.0.Final-redhat-2]

                      ... 15 more

                   

                   

                  Thanks,

                  Siva

                  • 6. Re: Migration of RF3.3 to 4.5.5
                    Michal Petrov Master

                    Yes, you showed the error already. Have you tried upgrading/removing the Mojarra setting in web.xml?

                    • 7. Re: Migration of RF3.3 to 4.5.5
                      Siva P Master

                      Yes i have commented the context-param settings also.But the error is same.

                      For me it looks like it is a class loading priority and it loads 2 time.But i could not able to locate in where it loading 2 times?

                      Thank you.

                       

                      rendererError.png

                      RF Version:

                      richfaces-components-api-4.2.2.Final

                      richfaces-components-ui-4.2.2.Final

                      richfaces-core-api-4.2.2.Final

                      richfaces-core-impl-4.2.2.Final

                       

                      Attached Error Log:

                      11:59:27,798 WARN  [org.jboss.modules] (MSC service thread 1-2) Failed to define class org.richfaces.renderkit.ComponentControlBehaviorRenderer in Module "deployment.SimpleReporting.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/richfaces/renderkit/ComponentControlBehaviorRenderer (Module "deployment.SimpleReporting.war:main" from Service Module Loader)

                          at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:428) [jboss-modules.jar:1.3.0.Final-redhat-2]

                          at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261) [jboss-modules.jar:1.3.0.Final-redhat-2]

                       

                       

                      Is this Core Richfaces core Bug??

                      • 8. Re: Migration of RF3.3 to 4.5.5
                        Siva P Master

                        I have a solution for these problems.Soon I will update it for all.