5 Replies Latest reply on Aug 29, 2007 7:13 AM by Mikael Andersson

    ClassNotFound : ...ajax.AjaxScript

    Mikael Andersson Master

      Hi,
      when running with the latest snapshots I get the error below.

      Maybe worth mentioning that I also ue Seam 2.0.0.BETA1.

      Searched through the richfaces source but couldn' find a class with this name. Closest match was:
      framework/impl/src/main/java/org/ajax4jsf/javascript/AjaxScript.java

      Any help appreciated.

      Relevant jars:

      
      jsf-api-1.2_04.jar
      jsf-facelets-1.1.12.jar
      jsf-impl-1.2_04.jar
      
      richfaces-api-3.1.0-20070823.220215-20.jar
      richfaces-impl-3.1.0-SNAPSHOT.jar
      richfaces-ui-3.1.0-20070823.220215-19.jar
      


      
      
      08:42:48,522 ERROR [Digester] Begin event threw exception
      java.lang.ClassNotFoundException: org.ajax4jsf.framework.ajax.AjaxScript
       at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
       at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:205)
       at org.apache.commons.digester.Rule.begin(Rule.java:175)
       at org.apache.commons.digester.Digester.startElement(Digester.java:1453)
       at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
       at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
       at org.apache.commons.digester.Digester.parse(Digester.java:1765)
       at org.ajax4jsf.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:199)
       at org.ajax4jsf.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:143)
       at org.ajax4jsf.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java:214)
       at org.ajax4jsf.renderkit.ChameleonRenderKitFactory.<init>(ChameleonRenderKitFactory.java:62)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
       at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:549)
       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:3729)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
       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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
       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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
       at org.jboss.web.WebModule.startModule(WebModule.java:83)
       at org.jboss.web.WebModule.startService(WebModule.java:61)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
       at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:417)
       at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy30.start(Unknown Source)
       at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
       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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
       at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
       at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
       at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
       at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy31.start(Unknown Source)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
       at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy8.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
       at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:417)
       at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
       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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
       at org.jboss.Main.boot(Main.java:200)
       at org.jboss.Main$1.run(Main.java:464)
       at java.lang.Thread.run(Thread.java:595)
      08:42:48,553 ERROR [STDERR] javax.faces.FacesException: org.ajax4jsf.renderkit.ChameleonRenderKitFactory
      08:42:48,553 ERROR [STDERR] at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:556)
      08:42:48,553 ERROR [STDERR] at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
      08:42:48,553 ERROR [STDERR] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
      08:42:48,553 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1096)
      08:42:48,553 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:543)
      08:42:48,553 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:436)
      08:42:48,553 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
      08:42:48,553 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
      08:42:48,553 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      08:42:48,553 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      08:42:48,553 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      08:42:48,553 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      08:42:48,553 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      08:42:48,553 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      08:42:48,553 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      08:42:48,553 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      08:42:48,553 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
      08:42:48,553 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      08:42:48,553 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      08:42:48,553 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      08:42:48,553 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      08:42:48,553 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      08:42:48,553 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
      08:42:48,553 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
      08:42:48,553 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
      08:42:48,553 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
      08:42:48,553 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
      08:42:48,553 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      08:42:48,553 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      08:42:48,553 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      08:42:48,553 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      08:42:48,553 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      08:42:48,553 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      08:42:48,553 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      08:42:48,553 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
      08:42:48,553 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      08:42:48,553 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      08:42:48,553 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      08:42:48,553 ERROR [STDERR] at $Proxy30.start(Unknown Source)
      08:42:48,553 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
      08:42:48,553 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      08:42:48,553 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      08:42:48,553 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      08:42:48,553 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      08:42:48,553 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
      08:42:48,553 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
      08:42:48,569 ERROR [STDERR] at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
      08:42:48,569 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
      08:42:48,569 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      08:42:48,569 ERROR [STDERR] at $Proxy31.start(Unknown Source)
      08:42:48,569 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
      08:42:48,569 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
      08:42:48,569 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
      08:42:48,569 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
      08:42:48,569 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      08:42:48,569 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      08:42:48,569 ERROR [STDERR] at $Proxy8.deploy(Unknown Source)
      08:42:48,569 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      08:42:48,569 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      08:42:48,569 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      08:42:48,569 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
      08:42:48,569 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      08:42:48,569 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      08:42:48,569 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      08:42:48,569 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      08:42:48,569 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      08:42:48,569 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      08:42:48,569 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      08:42:48,569 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
      08:42:48,569 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      08:42:48,569 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      08:42:48,569 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      08:42:48,569 ERROR [STDERR] at $Proxy4.start(Unknown Source)
      08:42:48,569 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      08:42:48,569 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
      08:42:48,569 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
      08:42:48,569 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
      08:42:48,569 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
      08:42:48,569 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      08:42:48,569 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      08:42:48,569 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      08:42:48,569 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      08:42:48,569 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      08:42:48,569 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
      08:42:48,569 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      08:42:48,569 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      08:42:48,569 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
      08:42:48,569 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:464)
      08:42:48,569 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
      08:42:48,584 ERROR [STDERR] Caused by: java.lang.reflect.InvocationTargetException
      08:42:48,584 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      08:42:48,584 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      08:42:48,584 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      08:42:48,584 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      08:42:48,584 ERROR [STDERR] at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:549)
      08:42:48,584 ERROR [STDERR] ... 140 more
      08:42:48,584 ERROR [STDERR] Caused by: javax.faces.FacesException: java.lang.ClassNotFoundException: org.ajax4jsf.framework.ajax.AjaxScript
      08:42:48,584 ERROR [STDERR] at org.ajax4jsf.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:206)
      08:42:48,584 ERROR [STDERR] at org.ajax4jsf.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:143)
      08:42:48,584 ERROR [STDERR] at org.ajax4jsf.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java:214)
      08:42:48,584 ERROR [STDERR] at org.ajax4jsf.renderkit.ChameleonRenderKitFactory.<init>(ChameleonRenderKitFactory.java:62)
      08:42:48,584 ERROR [STDERR] ... 145 more
      08:42:48,584 ERROR [STDERR] Caused by: java.lang.ClassNotFoundException: org.ajax4jsf.framework.ajax.AjaxScript
      08:42:48,584 ERROR [STDERR] at org.apache.commons.digester.Digester.createSAXException(Digester.java:3181)
      08:42:48,584 ERROR [STDERR] at org.apache.commons.digester.Digester.createSAXException(Digester.java:3207)
      08:42:48,584 ERROR [STDERR] at org.apache.commons.digester.Digester.startElement(Digester.java:1456)
      08:42:48,584 ERROR [STDERR] at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      08:42:48,584 ERROR [STDERR] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
      08:42:48,584 ERROR [STDERR] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      08:42:48,584 ERROR [STDERR] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      08:42:48,584 ERROR [STDERR] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      08:42:48,584 ERROR [STDERR] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      08:42:48,584 ERROR [STDERR] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      08:42:48,584 ERROR [STDERR] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      08:42:48,584 ERROR [STDERR] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      08:42:48,584 ERROR [STDERR] at org.apache.commons.digester.Digester.parse(Digester.java:1765)
      08:42:48,584 ERROR [STDERR] at org.ajax4jsf.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:199)
      08:42:48,584 ERROR [STDERR] ... 148 more
      08:42:48,600 ERROR [[/richfaces]] Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
      javax.faces.FacesException: org.ajax4jsf.renderkit.ChameleonRenderKitFactory
      
      


        • 1. Re: ClassNotFound : ...ajax.AjaxScript
          Sergey Smirnov Master

          You have a correlation between old and new Richfaces codebase loaded at the same time.
          So, consult the Jboss documentation how to avoid the problem with classloaders

          • 2. Re: ClassNotFound : ...ajax.AjaxScript
            Mikael Andersson Master

            Ok.
            But I don't see where the old richfaces code creeps in, unless it is via seam somehow?

            I just stared another project without seam and that works like a charm (using latest rf snapshots).

            - Mike

            • 3. Re: ClassNotFound : ...ajax.AjaxScript
              Pete Muir Master

              There are no dependencies on org.ajax4jsf.framework.ajax.AjaxScript in Seam. I think Sergey's suggestion of stale jars is correct. Please post the output of ls -R on your exploded archives (ear and war) for your project.

              • 4. Re: ClassNotFound : ...ajax.AjaxScript
                Mikael Andersson Master

                Hi,
                many thanks for the help.


                The jboss libs directories doesn't contain any jars related to jsf or richfaces.

                Here are the jars in the web apps exploded directory in jboss.

                default> ls -1 -R tmp/deploy/tmp5961richfaces-exp.war/WEB-INF/lib/
                tmp/deploy/tmp5961richfaces-exp.war/WEB-INF/lib/:
                antlr-2.7.6.jar
                aopalliance-1.0.jar
                asm-1.5.3.jar
                asm-attrs-1.5.3.jar
                cglib-2.1_3.jar
                commons-beanutils-1.7.0.jar
                commons-codec-1.3.jar
                commons-collections-3.1.jar
                commons-digester-1.8.jar
                commons-el-1.0.jar
                commons-fileupload-1.0.jar
                commons-io-1.3.1.jar
                commons-lang-2.1.jar
                commons-logging-1.0.4.jar
                commons-validator-1.3.1.jar
                dom4j-1.6.jar
                dummy-service-1.0.0-SNAPSHOT.jar
                ehcache-1.2.3.jar
                hibernate-3.2.3.ga.jar
                hibernate-annotations-3.2.1.ga.jar
                javassist-3.4.GA.jar
                jboss-el-1.0.jar
                jboss-el-api-1.0.jar
                jboss-seam-2.0.0.BETA1.jar
                jboss-seam-ui-2.0.0.BETA1.jar
                jbpm-3.1.2.jar
                jbpm-identity-3.1.2.jar
                jsf-api-1.2_04.jar
                jsf-facelets-1.1.12.jar
                jsf-impl-1.2_04.jar
                jstl-1.1.2.jar
                jta-1.0.1B.jar
                mylib-1.0-SNAPSHOT.jar
                nekohtml-0.9.5.jar
                oro-2.0.8.jar
                persistence-api-1.0.jar
                richfaces-api-3.1.0-SNAPSHOT.jar
                richfaces-impl-3.1.0-SNAPSHOT.jar
                richfaces-ui-3.1.0-SNAPSHOT.jar
                spring-aop-2.0.jar
                spring-beans-2.0.jar
                spring-context-2.0.jar
                spring-core-2.0.jar
                spring-dao-2.0.jar
                spring-jdbc-2.0.jar
                spring-jpa-2.0.jar
                spring-mock-2.0.jar
                spring-support-2.0.jar
                spring-web-2.0.jar
                spring-webmvc-2.0.jar
                struts-1.2.8.jar
                tomahawk-1.1.5.jar
                xalan-2.5.1.jar
                xercesImpl-2.8.1.jar
                xml-apis-1.3.03.jar
                



                • 5. Re: ClassNotFound : ...ajax.AjaxScript
                  Mikael Andersson Master

                  Think I've found the problem.

                  Checked all jar files for resources-config.xml file and found one in mylib-1.0-SNAPSHOT.jar which is a test component created with the ajax4jsf cdk.

                  it contains this:

                  lib> jar -xf mylib-1.0-SNAPSHOT.jar
                  lib> !more
                  more META-INF/resources-config.xml
                  <?xml version="1.0" encoding="UTF-8"?>
                  <resource-config>
                  <!-- Include manual created resource -->
                  
                  
                   <resource class="org.ajax4jsf.framework.ajax.AjaxScript">
                   <name>org.ajax4jsf.framework.ajax.AjaxScript</name>
                   </resource>
                  
                  </resource-config>
                  


                  Which I guess explains the problem :)

                  - Mike