Richfaces 3 on Jboss 7.2
bonomini Aug 23, 2012 2:40 PMHello,
I am Cleiton Bonomini, 19 years old and I'm typing this from Brazil. First of all I want to thank you, 'cause searching on your forum helped me a lot as a begginer on Java.
It is my first post here, so, if I'm doing something wrong, I leave my excuse in advance...
Well, I'm trying to migrate a HUGE application from JBoss 4.2.3 to JBoss 7.2Alpha.
I did A LOT OF changes on the application since JBoss structre, Class-Loading and almost everything changed a lot...
I'll leave here only one SEVERE error I'm getting while trying to deploy my application, since there are lots of erros and
I don't want to give that much work to you!
14:54:33,809 INFO [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-4) Creating Service {http://services.web.crm.datasul.com/}ExchangeSync from class com.datasul.crm.web.services.ExchangeSync
14:54:33,822 INFO [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-3) Creating Service {http://www.totvs.com/}EAIService from class com.totvs.datasul.fnd.eai.EAIService
14:54:33,918 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-1) Critical error during deployment: : com.sun.faces.config.ConfigurationException: Factory 'javax.faces.render.RenderKitFactory' was not configured properly.
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:305) [jsf-impl-2.1.11-jbossorg-1.jar:]
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:219) [jsf-impl-2.1.11-jbossorg-1.jar:]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:362) [jsf-impl-2.1.11-jbossorg-1.jar:]
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-1.jar:]
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.16.Final.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.16.Final.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:102) [jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_22]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_22]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_22]
Caused by: javax.faces.FacesException: org.ajax4jsf.renderkit.ChameleonRenderKitFactory
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:646) [jsf-api-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:509) [jsf-api-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]
at javax.faces.FactoryFinder.access$400(FactoryFinder.java:139) [jsf-api-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:996) [jsf-api-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:343) [jsf-api-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:303) [jsf-impl-2.1.11-jbossorg-1.jar:]
... 11 more
Caused by: java.lang.InstantiationException: org.ajax4jsf.renderkit.ChameleonRenderKitFactory
at java.lang.Class.newInstance0(Class.java:340) [rt.jar:1.6.0_22]
at java.lang.Class.newInstance(Class.java:308) [rt.jar:1.6.0_22]
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:644) [jsf-api-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]
... 16 more
Please, I would be really happy if you help me fixing this.
Thanks in advance and HUGS FROM BRAZIL! Hehe.