13 Replies Latest reply on Aug 24, 2008 1:55 PM by Nick Belaevski

    libraries needed

    Biren Barodia Newbie

      Hi,
      I need to run my project with richfaces 3.2.1 GA
      I am using Netbeans 6.0 and jboss 4.2.3.
      I am including the in built jsf 1.2 libs and jdk 1.5.
      what other requirements are need to run the library?

        • 1. Re: libraries needed
          Ilya Shaikovsky Master

          RF jars only should be included in working JSF application. Nothing speciall needed. So if your application works without RF - it should be ok after libraries added.

          • 2. Re: libraries needed
            Biren Barodia Newbie

            with the above plain combination i get this error...


            17:42:07,626 ERROR [application] JSF1029: The specified InjectionProvider implementation 'org.jboss.web.jsf.integration.injection.JBossInjectionProvider' does not implement the InjectionProvider interface.
            17:42:07,626 INFO [application] JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed.
            17:42:07,676 ERROR [STDERR] java.lang.UnsupportedOperationException
            17:42:07,676 ERROR [STDERR] at com.sun.faces.config.ConfigureListener$InitFacesContext.getViewRoot(ConfigureListener.java:1690)
            17:42:08,127 ERROR [STDERR] at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:113)
            17:42:08,127 ERROR [STDERR] at com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
            17:42:08,127 ERROR [STDERR] at com.sun.faces.util.Util.createInstance(Util.java:477)
            17:42:08,127 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:635)
            17:42:08,127 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:503)
            17:42:08,627 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
            17:42:08,627 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
            17:42:08,627 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
            17:42:08,627 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
            17:42:08,627 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
            17:42:09,128 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
            17:42:09,128 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            17:42:09,128 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            17:42:09,128 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            17:42:09,128 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
            17:42:09,128 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
            17:42:09,629 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
            17:42:09,629 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            17:42:09,629 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
            17:42:09,629 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            17:42:09,629 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            17:42:10,129 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            17:42:10,129 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
            17:42:10,129 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
            17:42:10,129 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
            17:42:10,129 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            17:42:10,630 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
            17:42:10,630 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
            17:42:10,630 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
            17:42:10,630 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
            17:42:10,630 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
            17:42:11,131 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
            17:42:11,131 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
            17:42:11,131 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
            17:42:11,131 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            17:42:11,131 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
            17:42:11,632 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            17:42:11,632 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            17:42:11,632 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            17:42:11,632 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            17:42:11,632 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

            17:42:12,132 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
            17:42:12,132 ERROR [STDERR] at $Proxy0.start(Unknown Source)
            17:42:12,132 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
            17:42:12,132 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
            17:42:12,132 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            17:42:12,132 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
            17:42:12,633 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            17:42:12,633 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            17:42:12,633 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            17:42:12,633 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            17:42:12,633 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

            17:42:13,134 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            17:42:13,134 ERROR [STDERR] at $Proxy44.start(Unknown Source)
            17:42:13,134 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
            17:42:13,134 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            17:42:13,134 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            17:42:13,134 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            17:42:13,635 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
            17:42:13,635 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            17:42:13,635 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            17:42:13,635 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            17:42:13,635 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            17:42:13,635 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            17:42:14,135 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
            17:42:14,135 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
            17:42:14,135 ERROR [STDERR] at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
            17:42:14,135 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)

            17:42:14,636 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
            17:42:14,636 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            17:42:14,636 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            17:42:14,636 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            17:42:14,636 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            17:42:15,137 ERROR [STDERR] at $Proxy45.start(Unknown Source)
            17:42:15,137 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
            17:42:15,137 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
            17:42:15,137 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
            17:42:15,137 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
            17:42:15,137 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            17:42:15,137 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
            17:42:15,137 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            17:42:15,137 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            17:42:15,137 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            17:42:15,137 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            17:42:15,137 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            17:42:15,137 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            17:42:15,137 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

            17:42:15,137 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            17:42:15,137 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            17:42:15,137 ERROR [STDERR] at $Proxy9.deploy(Unknown Source)
            17:42:15,137 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
            17:42:15,137 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
            17:42:15,137 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
            17:42:15,137 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
            17:42:15,137 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
            17:42:15,147 ERROR [[/WebApplication4]] Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
            javax.faces.FacesException: java.lang.UnsupportedOperationException
            at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:408)
            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)
            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:5312)
            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)
            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: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 $Proxy44.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.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
            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 $Proxy45.start(Unknown Source)
            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 sun.reflect.GeneratedMethodAccessor20.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 $Proxy9.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
            Caused by: java.lang.UnsupportedOperationException
            at com.sun.faces.config.ConfigureListener$InitFacesContext.getViewRoot(ConfigureListener.java:1690)
            at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:113)
            at com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
            at com.sun.faces.util.Util.createInstance(Util.java:477)
            at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:635)
            at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:503)
            at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
            ... 89 more
            17:42:15,647 ERROR [StandardContext] Error listenerStart

            • 3. Re: libraries needed
              Ilya Shaikovsky Master

              Seems you use jdk 1.4 instead of 1.5..

              • 4. Re: libraries needed
                Biren Barodia Newbie

                I am using netbeans as my ide and i selected the source/binary format field in it as "JDK 5" and encoding as "UTF-8".
                Also my JBoss , while start up is showing the following..
                ===============================================================================

                JBoss Bootstrap Environment

                JBOSS_HOME: C:\jboss-4.2.3.GA

                JAVA: C:\Program Files\Java\jdk1.5.0_06\bin\java

                JAVA_OPTS:

                CLASSPATH: C:\Program Files\Java\jdk1.5.0_06\lib\tools.jar;C:\jboss-4.2.3.GA\bin\run.jar

                ===============================================================================




                • 5. Re: libraries needed
                  Ilya Shaikovsky Master

                  could you please share the project with us?

                  • 6. Re: libraries needed
                    Biren Barodia Newbie

                    ill upload the src and war files and paste the link here..

                    • 7. Re: libraries needed
                      Ilya Shaikovsky Master

                      thanks for your help! will wait for your sample.

                      • 8. Re: libraries needed
                        Biren Barodia Newbie

                        http://rapidshare.com/files/137776014/WebApplication1.zip.html

                        couldnt upload because of some uploading problem...
                        the dist folder has the war file

                        • 9. Re: libraries needed
                          Biren Barodia Newbie

                          With all three richfaces in the web-inf/lib directory , i get an invocation target exception,
                          when I add the collections jars, everything vanishes but the deployment stops at
                          17:20:42,612 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
                          17:20:42,628 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {org.richfaces.SKIN=blueSky}

                          so i googled and i found this page:
                          https://jira.jboss.org/jira/browse/RF-2152?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel

                          as per the instructions i put the richfaces impl and ui in the projects lb directory and the api file in the server/lib directory
                          however now i am getting this err:

                          java.lang.VerifyError: (class: org/ajax4jsf/event/InitPhaseListener, method: beforePhase signature: (Ljavax/faces/event/PhaseEvent;)V) Incompatible argument to function
                          at java.lang.Class.getDeclaredConstructors0(Native Method)

                          • 10. Re: libraries needed
                            Biren Barodia Newbie

                            bounce

                            • 11. Re: libraries needed
                              Nick Belaevski Master

                              Maybe you have two different versions of Richfaces in classpath?

                              • 12. Re: libraries needed
                                Biren Barodia Newbie

                                this is wat i found:

                                i am using netbeans 6.1...
                                1) when i create a new project, it allows jee 5 for glassfish,apache but wont allow for jboss 4.2.3
                                2) Sinc ei need jboss , i choose to select j2ee 1.4
                                3) since i select 1.4, i cant add jsf 1.2
                                4) since only jsf 1.1 is there richfaces doesnt work....

                                am i correct?
                                if so , why is jboss 4.2.3 there in richfaces docs as supported application server?

                                • 13. Re: libraries needed
                                  Nick Belaevski Master

                                  Hi,

                                  Please see the link here: http://wiki.netbeans.org/NB61TestedPlatformAndRuntimes . JBoss 4.2 is really a jee 5 server. It ships with JSF 1.2. So I do not know why Netbeans suggests jee 1.4 only (maybe the IDE can detect jee 5 capabilities for bundled servers only?). Please ask that at Netbeans forum.