0 Replies Latest reply on Dec 14, 2011 12:53 AM by Niraj Adhikary

    Upgrade richfaces library while keeping the old seam jar is it possible?

    Niraj Adhikary Newbie

      Hi All,

           I am using Jboss 4.2 eap, Seam 2.0 and Richfaces 3.1.2. Currently there is a problem in my app, as there is modal panel window is trying to load data from AJAX call, its failing and I'm getting script error in my page. I have googled it and concluded that the issue is modalPanel.js file. It existed in ie 7  and 8.

       

      Please let me know is there any way i can solve this puzzle. I have tried to paste the new jar of richfaces 3.3.1 version with exsiting seam jars. Server is giving me error as follows :

       

       

       

       

      11:10:21,374 ERROR main [STDERR] javax.faces.FacesException: org.ajax4jsf.renderkit.ChameleonRenderKitFactory

      11:10:21,375 ERROR main [STDERR]        at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:556)

      11:10:21,375 ERROR main [STDERR]        at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)

      11:10:21,377 ERROR main [STDERR]        at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)

      11:10:21,379 ERROR main [STDERR]        at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1036)

      11:10:21,381 ERROR main [STDERR]        at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:493)

      11:10:21,383 ERROR main [STDERR]        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)

      11:10:21,385 ERROR main [STDERR]        at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)

      11:10:21,387 ERROR main [STDERR]        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)

      11:10:21,389 ERROR main [STDERR]        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)

      11:10:21,391 ERROR main [STDERR]        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)

      11:10:21,392 ERROR main [STDERR]        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)

      11:10:21,395 ERROR main [STDERR]        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)

      11:10:21,397 ERROR main [STDERR]        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      11:10:21,399 ERROR main [STDERR]        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      11:10:21,401 ERROR main [STDERR]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      11:10:21,403 ERROR main [STDERR]        at java.lang.reflect.Method.invoke(Method.java:597)

      11:10:21,405 ERROR main [STDERR]        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)

      11:10:21,407 ERROR main [STDERR]        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

      11:10:21,409 ERROR main [STDERR]        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

      11:10:21,412 ERROR main [STDERR]        at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)

      11:10:21,414 ERROR main [STDERR]        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      11:10:21,416 ERROR main [STDERR]        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      11:10:21,417 ERROR main [STDERR]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      11:10:21,419 ERROR main [STDERR]        at java.lang.reflect.Method.invoke(Method.java:597)

      11:10:21,421 ERROR main [STDERR]        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)

      11:10:21,423 ERROR main [STDERR]        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

      11:10:21,425 ERROR main [STDERR]        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

      11:10:21,428 ERROR main [STDERR]        at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)

      11:10:21,430 ERROR main [STDERR]        at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)

      11:10:21,432 ERROR main [STDERR]        at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)

      11:10:21,434 ERROR main [STDERR]        at org.jboss.web.WebModule.startModule(WebModule.java:83)

      11:10:21,435 ERROR main [STDERR]        at org.jboss.web.WebModule.startService(WebModule.java:61)

      11:10:21,437 ERROR main [STDERR]        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

      11:10:21,439 ERROR main [STDERR]        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

      11:10:21,441 ERROR main [STDERR]        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

      11:10:21,444 ERROR main [STDERR]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      11:10:21,446 ERROR main [STDERR]        at java.lang.reflect.Method.invoke(Method.java:597)

      11:10:21,448 ERROR main [STDERR]        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

      11:10:21,450 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

      11:10:21,452 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      11:10:21,454 ERROR main [STDERR]        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

      11:10:21,455 ERROR main [STDERR]        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

      11:10:21,457 ERROR main [STDERR]        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)

      11:10:21,460 ERROR main [STDERR]        at $Proxy0.start(Unknown Source)

      11:10:21,462 ERROR main [STDERR]        at org.jboss.system.ServiceController.start(ServiceController.java:417)

      11:10:21,464 ERROR main [STDERR]        at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)

      11:10:21,466 ERROR main [STDERR]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      11:10:21,468 ERROR main [STDERR]        at java.lang.reflect.Method.invoke(Method.java:597)

      11:10:21,470 ERROR main [STDERR]        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

      11:10:21,472 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

      11:10:21,474 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      11:10:21,475 ERROR main [STDERR]        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

      11:10:21,479 ERROR main [STDERR]        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

      11:10:21,480 ERROR main [STDERR]        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

      11:10:21,482 ERROR main [STDERR]        at $Proxy45.start(Unknown Source)

      11:10:21,484 ERROR main [STDERR]        at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)

      11:10:21,486 ERROR main [STDERR]        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      11:10:21,488 ERROR main [STDERR]        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      11:10:21,490 ERROR main [STDERR]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      11:10:21,492 ERROR main [STDERR]        at java.lang.reflect.Method.invoke(Method.java:597)

      11:10:21,495 ERROR main [STDERR]        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

      11:10:21,497 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

      11:10:21,499 ERROR main [STDERR]        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

      11:10:21,500 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

      11:10:21,502 ERROR main [STDERR]        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

      11:10:21,504 ERROR main [STDERR]        at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)

      11:10:21,506 ERROR main [STDERR]        at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)

      11:10:21,508 ERROR main [STDERR]        at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)

      11:10:21,511 ERROR main [STDERR]        at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)

      11:10:21,513 ERROR main [STDERR]        at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)

      11:10:21,515 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

      11:10:21,517 ERROR main [STDERR]        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

      11:10:21,519 ERROR main [STDERR]        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

      11:10:21,520 ERROR main [STDERR]        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

      11:10:21,522 ERROR main [STDERR]        at $Proxy46.start(Unknown Source)

      11:10:21,524 ERROR main [STDERR]        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)

      11:10:21,527 ERROR main [STDERR]        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)

      11:10:21,529 ERROR main [STDERR]        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)

      11:10:21,531 ERROR main [STDERR]        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

      11:10:21,533 ERROR main [STDERR]        at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)

      11:10:21,535 ERROR main [STDERR]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      11:10:21,537 ERROR main [STDERR]        at java.lang.reflect.Method.invoke(Method.java:597)

      11:10:21,539 ERROR main [STDERR]        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

      11:10:21,540 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

      11:10:21,544 ERROR main [STDERR]        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

      11:10:21,545 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

      11:10:21,547 ERROR main [STDERR]        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

      11:10:21,549 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

      11:10:21,551 ERROR main [STDERR]        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

      11:10:21,553 ERROR main [STDERR]        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

      11:10:21,555 ERROR main [STDERR]        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

      11:10:21,557 ERROR main [STDERR]        at $Proxy9.deploy(Unknown Source)

      11:10:21,559 ERROR main [STDERR]        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)

      11:10:21,562 ERROR main [STDERR]        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)

      11:10:21,564 ERROR main [STDERR]        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)

      11:10:21,565 ERROR main [STDERR]        at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)

      11:10:21,567 ERROR main [STDERR]        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

      11:10:21,569 ERROR main [STDERR]        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

      11:10:21,571 ERROR main [STDERR]        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

      11:10:21,573 ERROR main [STDERR]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      11:10:21,575 ERROR main [STDERR]        at java.lang.reflect.Method.invoke(Method.java:597)

      11:10:21,578 ERROR main [STDERR]        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

      11:10:21,580 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

      11:10:21,582 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      11:10:21,584 ERROR main [STDERR]        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

      11:10:21,585 ERROR main [STDERR]        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

      11:10:21,587 ERROR main [STDERR]        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)

      11:10:21,589 ERROR main [STDERR]        at $Proxy0.start(Unknown Source)

      11:10:21,591 ERROR main [STDERR]        at org.jboss.system.ServiceController.start(ServiceController.java:417)

      11:10:21,594 ERROR main [STDERR]        at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)

      11:10:21,596 ERROR main [STDERR]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      11:10:21,598 ERROR main [STDERR]        at java.lang.reflect.Method.invoke(Method.java:597)

      11:10:21,600 ERROR main [STDERR]        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

      11:10:21,602 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

      11:10:21,604 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

      11:10:21,605 ERROR main [STDERR]        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

      11:10:21,607 ERROR main [STDERR]        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

      11:10:21,610 ERROR main [STDERR]        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

      11:10:21,612 ERROR main [STDERR]        at $Proxy4.start(Unknown Source)

      11:10:21,614 ERROR main [STDERR]        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)

      11:10:21,616 ERROR main [STDERR]        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)

      11:10:21,618 ERROR main [STDERR]        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)

      11:10:21,620 ERROR main [STDERR]        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

      11:10:21,622 ERROR main [STDERR]        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)

      11:10:21,624 ERROR main [STDERR]        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      11:10:21,625 ERROR main [STDERR]        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      11:10:21,628 ERROR main [STDERR]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      11:10:21,630 ERROR main [STDERR]        at java.lang.reflect.Method.invoke(Method.java:597)

      11:10:21,632 ERROR main [STDERR]        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

      11:10:21,634 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

      11:10:21,636 ERROR main [STDERR]        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

      11:10:21,638 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

      11:10:21,640 ERROR main [STDERR]        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

      11:10:21,642 ERROR main [STDERR]        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

      11:10:21,645 ERROR main [STDERR]        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

      11:10:21,647 ERROR main [STDERR]        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

      11:10:21,648 ERROR main [STDERR]        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

      11:10:21,650 ERROR main [STDERR]        at $Proxy5.deploy(Unknown Source)

      11:10:21,652 ERROR main [STDERR]        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)

      11:10:21,654 ERROR main [STDERR]        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)

      11:10:21,656 ERROR main [STDERR]        at org.jboss.Main.boot(Main.java:200)

      11:10:21,658 ERROR main [STDERR]        at org.jboss.Main$1.run(Main.java:508)

      11:10:21,661 ERROR main [STDERR]        at java.lang.Thread.run(Thread.java:619)

      11:10:21,663 ERROR main [STDERR] Caused by: java.lang.reflect.InvocationTargetException

      11:10:21,665 ERROR main [STDERR]        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      11:10:21,667 ERROR main [STDERR]        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

      11:10:21,668 ERROR main [STDERR]        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

      11:10:21,670 ERROR main [STDERR]        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

      11:10:21,672 ERROR main [STDERR]        at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:549)

      11:10:21,674 ERROR main [STDERR]        ... 142 more

      11:10:21,677 ERROR main [STDERR] Caused by: java.lang.NoClassDefFoundError: org/ajax4jsf/resource/util/URLToStreamHelper

      11:10:21,679 ERROR main [STDERR]        at org.ajax4jsf.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:167)

      11:10:21,681 ERROR main [STDERR]        at org.ajax4jsf.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:153)

      11:10:21,683 ERROR main [STDERR]        at org.ajax4jsf.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java:224)

      11:10:21,685 ERROR main [STDERR]        at org.ajax4jsf.renderkit.ChameleonRenderKitFactory.<init>(ChameleonRenderKitFactory.java:62)

      11:10:21,686 ERROR main [STDERR]        ... 147 more

      11:10:21,689 ERROR main [STDERR] Caused by: java.lang.ClassNotFoundException: org.ajax4jsf.resource.util.URLToStreamHelper

      11:10:21,690 ERROR main [STDERR]        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)

      11:10:21,692 ERROR main [STDERR]        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)

      11:10:21,695 ERROR main [STDERR]        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

      11:10:21,697 ERROR main [STDERR]        ... 151 more

      11:10:21,705 ERROR main [[/]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener

      javax.faces.FacesException: org.ajax4jsf.renderkit.ChameleonRenderKitFactory

              at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:556)

              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:1036)

              at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:493)

              at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)

              at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)

              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)

              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)

              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)

              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)

              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:597)

              at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)

              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:5310)

              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:597)

              at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)

              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.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)

              at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)

              at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)

              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.GeneratedMethodAccessor3.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              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:597)

              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 $Proxy45.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:597)

              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.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)

              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 $Proxy46.start(Unknown Source)

              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)

              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)

              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)

              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

              at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              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 $Proxy9.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.GeneratedMethodAccessor3.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              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:597)

              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:1025)

              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)

              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)

              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:597)

              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:508)

              at java.lang.Thread.run(Thread.java:619)

      Caused by: java.lang.reflect.InvocationTargetException

              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:513)

              at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:549)

              ... 142 more

      Caused by: java.lang.NoClassDefFoundError: org/ajax4jsf/resource/util/URLToStreamHelper

              at org.ajax4jsf.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:167)

              at org.ajax4jsf.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:153)

              at org.ajax4jsf.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java:224)

              at org.ajax4jsf.renderkit.ChameleonRenderKitFactory.<init>(ChameleonRenderKitFactory.java:62)

              ... 147 more

      Caused by: java.lang.ClassNotFoundException: org.ajax4jsf.resource.util.URLToStreamHelper

              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)

              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)

              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

              ... 151 more

       

       

      I have tried to paste the modalPanel.js file alone in richfaces-ui.jar but that is giving me script error in page.

       

       

      Any light on this darkness will be appriciated.

       

       

      Thanks,

       

      Niraj :  niraj_adhikary@mindtree.com