1 Reply Latest reply on Jun 2, 2011 12:17 PM by Pavol Pitonak

    WebSphere 7 and JSF 2

    Pradeep Nayak Newbie

      Can JSF2 application be deployed in websphere 7 ?

      Websphere 7 has support only to JSF 1.2

      But if we use a separate classloader for our webapp loads JSF2 api  will the aaplication work ?

       

      I deployed an application with richfaces 4 milestone 5 build.

      When I hit the url , it loads the welcome page ( login ) and I get the stack over flow exception as given below

       

      Any clues ?

       

       

      at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:181)

          at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:181)

          at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:181)

          at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:181)

          at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:181)

          at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:181)

          at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:181)

          at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:181)

          at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:181)

          at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:181)

          at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:181)

          at com.sun.faces.context.ExternalContextImpl.<init>(ExternalContextImpl.java:134)

          at com.sun.faces.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:108)

          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:260)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1384)

          at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:104)

          at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)

          at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:785)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)

          at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)

          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:325)

          at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)

          at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:491)

          at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:159)

          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)

          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1384)

          at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:104)

          at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)

          at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:785)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)

          at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)

          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:325)

          at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)

          at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:491)

          at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:159)

          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)

          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1384)

          at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:104)

          at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)

          at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:785)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)

          at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)

          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:325)

          at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)

          at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:491)

          at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:159)

          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)

          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1384)

          at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:104)

          at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)

          at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:785)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)

          at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)

          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:325)

          at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)

          at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:491)

          at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:159)

          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)

          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443)

          at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1384)