5 Replies Latest reply on Apr 3, 2008 3:37 PM by Amol Desai

    Web Service Client not working w/RichFaces

    Amol Desai Newbie

      Hello there,

      My WSDL Web service client is not working with RichFaces. The same code is working with MyFaces app.

      I'm getting the following error:

      14:03:47,734 FATAL [application] /jsp/result.xhtml @17,68 action="#{echo.callWSDL}": javax.xml.ws.WebServiceException: Unable to load Provid
      er: org.jboss.ws.core.jaxws.spi.ProviderImpl
      javax.faces.el.EvaluationException: /jsp/result.xhtml @17,68 action="#{echo.callWSDL}": javax.xml.ws.WebServiceException: Unable to load Pro
      vider: org.jboss.ws.core.jaxws.spi.ProviderImpl
       at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
       at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
       at javax.faces.component.UICommand.broadcast(UICommand.java:383)
       at org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:62)
       at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
       at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
       at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
       at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.xml.ws.WebServiceException: Unable to load Provider: org.jboss.ws.core.jaxws.spi.ProviderImpl
       at javax.xml.ws.spi.Provider.provider(Provider.java:98)
       at javax.xml.ws.Service.<init>(Service.java:83)


      I've following JARs in my lib:

      commons-beanutils-1.7.0
      commons-collections-3.2
      commons-digester-1.8
      commons-logging-1.0.4
      explode
      jsf-facelets-1.1.14
      jstl-1.0
      portletbridge-api-1.0.0-20080212.175852-5
      portletbridge-impl-1.0.0-20080212.175852-5
      richfaces-api-3.1.4.SR1
      richfaces-impl-3.1.4.SR1
      richfaces-ui-3.1.4.SR1

      jaxb-api
      jaxb-impl
      jaxb-xjc
      jboss-jaxrpc
      jboss-jaxws

      I read somewhere in the forum that I need to have following JARs as well to run the Web Service. Is that correct? Why didn't I require them with MyFaces though? Where can I find these JARs to download?

      jboss-common-client.jar
      jboss-common-core.jar

      Thanks for your help.
      -Amol



        • 1. Re: Web Service Client not working w/RichFaces
          Amol Desai Newbie

          Friends, any help on this one? At least, please do let me know whether i can call WSDL Webservice method in RichFaces environment?

          Thanks for the help.

          • 2. Re: Web Service Client not working w/RichFaces
            Prabhat Jha Master

            Just a blind shot in the air. But a good thing would be to reduce number of variables you have. Can you try removing portal/portlet from the mix? Meaning, write a simple app that only uses Richfaces and webservice stuff. If it does not work, then it becomes more of a question of richfaces or webservices and you have to ask in the appropriate forum.

            • 3. Re: Web Service Client not working w/RichFaces
              Amol Desai Newbie

              Ok, as I built the RichFaces app by following the maven steps... I do not see any JSF related libraries (SunRI) in my lib folder. All i have are the JARs listed in my previous post.

              Do I need to have JSF specific libs too if I want to work with JSF? Or just PortletBridge libs and RichFaces libs are sufficient?

              If I do need JSF related libs, how do I integrate SunRI JSF with RichFaces? I tried copying following jars from my previous sample SunRI JSF project into new RichFaces project but getting ugly exceptions at the server startup:

              jsf-api.jar
              jsf-portlet
              portal-common-lib.jar
              portlet-api-lib.jar

              The error i'm getting is as below:

              2008-04-03 09:39:05,062 ERROR [STDERR] javax.faces.FacesException: org.jboss.portletbridge.lifecycle.PortletLifecycleFactory
              2008-04-03 09:39:05,062 ERROR [STDERR] at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:569)
              2008-04-03 09:39:05,062 ERROR [STDERR] at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
              2008-04-03 09:39:05,062 ERROR [STDERR] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
              2008-04-03 09:39:05,062 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:805)
              2008-04-03 09:39:05,062 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:486)
              2008-04-03 09:39:05,062 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              2008-04-03 09:39:05,062 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              2008-04-03 09:39:05,062 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              2008-04-03 09:39:05,062 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              2008-04-03 09:39:05,062 ERROR [STDERR] at $Proxy0.start(Unknown Source)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              2008-04-03 09:39:05,062 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              2008-04-03 09:39:05,062 ERROR [STDERR] at $Proxy197.start(Unknown Source)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              2008-04-03 09:39:05,062 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              2008-04-03 09:39:05,062 ERROR [STDERR] at $Proxy198.start(Unknown Source)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              2008-04-03 09:39:05,062 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              2008-04-03 09:39:05,062 ERROR [STDERR] at $Proxy9.deploy(Unknown Source)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              2008-04-03 09:39:05,062 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
              2008-04-03 09:39:05,062 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
              2008-04-03 09:39:05,078 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              2008-04-03 09:39:05,078 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              2008-04-03 09:39:05,078 ERROR [STDERR] at $Proxy0.start(Unknown Source)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
              2008-04-03 09:39:05,078 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
              2008-04-03 09:39:05,078 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              2008-04-03 09:39:05,078 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              2008-04-03 09:39:05,078 ERROR [STDERR] at $Proxy4.start(Unknown Source)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
              2008-04-03 09:39:05,078 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              2008-04-03 09:39:05,078 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              2008-04-03 09:39:05,078 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              2008-04-03 09:39:05,078 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              2008-04-03 09:39:05,078 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
              2008-04-03 09:39:05,078 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:508)
              2008-04-03 09:39:05,078 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
              2008-04-03 09:39:05,078 ERROR [STDERR] Caused by: java.lang.InstantiationException: org.jboss.portletbridge.lifecycle.PortletLifecycleFactory
              2008-04-03 09:39:05,078 ERROR [STDERR] at java.lang.Class.newInstance0(Class.java:335)
              2008-04-03 09:39:05,078 ERROR [STDERR] at java.lang.Class.newInstance(Class.java:303)
              2008-04-03 09:39:05,078 ERROR [STDERR] at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:567)
              2008-04-03 09:39:05,078 ERROR [STDERR] ... 141 more
              2008-04-03 09:39:05,093 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/helloworldjsfmyfacesportlet]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
              javax.faces.FacesException: org.jboss.portletbridge.lifecycle.PortletLifecycleFactory
               at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:569)
               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:805)
               at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:486)
               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: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)


              Can anybody please let me know what's going wrong?
              Thanks for your help.
              -Amol




              • 4. Re: Web Service Client not working w/RichFaces
                Wesley Hales Master

                You already have the JSF libs included in JBoss AS 4.2.x, so no, you do not need them in your war.

                • 5. Re: Web Service Client not working w/RichFaces
                  Amol Desai Newbie

                  Cool. thanks. But then, my WSDL web service client should have worked. Any clues on that why its not working? any issues with the classloading? missing jars, etc?

                  Now as you mentioned, JSF libs are already in JBoss AS 4.2.x, do i need to locate and put the necessary JARs in my WEB-INF lib to run my WSDL Client?

                  thanks.