RichFaces configuration failure
thomasgo Oct 30, 2009 6:03 PMHi,
I use RichFaces 3.3.2.SR1 in a JBoss 4.2.3.GA environment.
In order to upgrade the hibernate version in my application I introduced an application scoped classloader in jboss-app.xml.
Here the file:
<jboss-app> <app-name>myapp</app-name> <loader-repository> MyApp:loader=MyAppLoader </loader-repository> <loader-repository-config> java2ParentDelegation=false </loader-repository-config> </jboss-app>
I finally got the ear to load but when the war (which is nested in the ear) is loaded, I get the following exception:
22:52:54,077 ERROR [[/MyApp]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.J BossJSFConfigureListener com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Source Document: jar:file:/C:/Entwicklung/Projekte/MyApp/web/client/src/main/webapp/myapp.ear/lib/richfaces-ui-3.3.2.SR1.jar!/META-I NF/faces-config.xml Cause: Class 'org.richfaces.component.ClonedObjectResolver' is not an instance of 'class javax.el.ELResolver' at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195) at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:71) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) 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:585) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) ...
As far as I can see org.richfaces.component.ClonedObjectResolver should be an instance of ELResolver and el-api.jar is in the classpath.
Am I missing a library or specific version?