5 Replies Latest reply on Feb 9, 2008 11:56 AM by Viggo Navarsete

    Need assist (New to Rich Faces )

    murugesan govindan Newbie

      HI,

      I am Murugesan, new to rich faces and I read the developers guide and implemented the same Ajax Echo Project but it shows lot of errors

      present I am developing JSF portlet in the Websphere Portal Server 6, pls assist me to implement the rich faces in my jsf portlet,

      note: pls assist me atleast how to implement the demo rich faces in my jsf page

      Regards
      Murugesan

        • 1. Re: Need assist (New to Rich Faces )
          Florian Marwede Expert

          Please tell us more about your environment, which version of RF do you use, which JSF and so on. And can you post these errors, please?

          • 2. Re: Need assist (New to Rich Faces )
            murugesan govindan Newbie

            Hi,

            I have downloaded richfaces-ui-3.1.0-bin.zip and pasted the following jars in my WEB-INF/lib/richfaces-api-3.1.0.jar,richfaces-impl-3.1.0.jar, richfaces-ui-3.1.0.jar. but I am getting errors like class not found exception.

            Environment: RSA 7.0, Websphere Portal Server 6.0, JSF Portlet (JSR 168)

            Pls let me know any document which gives demo project implementation.

            Regards
            Murugesan

            • 3. Re: Need assist (New to Rich Faces )
              Florian Marwede Expert

              For Simple Ajax Echo Project you need a4j components. For RF 3.1.0 you need an extra jar for it. But why do you use so old libraries?? Please use latest G.A.: 3.1.4 (here you need only the 3 RF Jars)

              • 4. Re: Need assist (New to Rich Faces )
                murugesan govindan Newbie

                Hi

                I did the same but still I am getting the error. pls advise me. Thanks

                [2/9/08 14:49:17:938 AST] 00000025 ServletWrappe E SRVE0100E: Did not realize init() exception thrown by servlet Faces Servlet: java.lang.NullPointerException
                at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
                at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:185)
                at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:316)
                at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:341)
                at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
                at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)
                at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
                at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
                at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
                at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
                at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
                at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
                at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
                at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
                at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
                at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
                at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
                at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
                at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
                at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)

                [2/9/08 14:49:17:984 AST] 00000025 ServletWrappe E Deregister the mbean because of uncaught init() exception thrown by servlet Faces Servlet: javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception thrown by servlet
                at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:237)
                at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:316)
                at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:341)
                at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
                at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)
                at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
                at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
                at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
                at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
                at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
                at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
                at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
                at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
                at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
                at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
                at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
                at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
                at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
                at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
                ---- Begin backtrace for Nested Throwables
                java.lang.NullPointerException
                at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
                at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:185)
                at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:316)
                at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:341)
                at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
                at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)
                at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
                at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
                at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
                at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
                at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
                at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
                at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
                at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
                at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
                at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
                at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
                at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
                at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
                at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
                ,
                [2/9/08 14:49:18:030 AST] 00000025 WebApp E [Servlet Error]-[Faces Servlet]: java.lang.NullPointerException
                at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
                at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:185)
                at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:316)
                at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:341)
                at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
                at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)
                at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
                at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
                at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
                at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
                at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
                at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
                at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
                at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
                at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
                at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
                at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
                at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
                at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
                at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)

                Regards
                Murugesan

                • 5. Re: Need assist (New to Rich Faces )
                  Viggo Navarsete Expert

                  Try with the 3.1.3.GA version, we've seen several strange things in the later versions..