2 Replies Latest reply on Sep 14, 2008 10:30 PM by Vijay Koppuravuri

    Problem deploying SEAM App to WebSphere 6.1.0.13

    Vijay Koppuravuri Newbie

      We have developed an SEAM application without EJB and were able to successfully test it on JBoss 4.2.2 GA. But our production environment is on WAS6.1.0.13 and we are stuck with this error. The application deploys fine but when we access it we are getting this runtime ERROR. Environment: WAS 6.1.0.13, SEAM 2.0.2 SP1, Facelets 1.1.14, Trinidad 1.2.9, Hibernate POJOs. We were also able to successfully deploy and test the JPA example App that's included with SEAM.





      [9/11/08 10:16:15:515 CDT] 00000036 SystemOut     O 10:16:15,171 [WebContainer : 0] ERROR SeamPhaseListener : uncaught exception
      java.lang.NullPointerException
           at org.jboss.seam.jsf.SeamPhaseListener.raiseEventsBeforePhase(SeamPhaseListener.java:397)
           at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
           at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
           at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
           at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
           at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
           at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
           at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
           at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
           at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:416)
           at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
           at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
           at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
           at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:106)
           at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
           at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
           at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
           at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
           at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
           at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
           at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:229)
           at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
           at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:286)
           at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
           at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
           at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
           at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
           at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)
           at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
           at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
           at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3107)
           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:1425)
           at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
           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.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
           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:193)
           at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
           at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
           at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
      


           

        • 1. Re: Problem deploying SEAM App to WebSphere 6.1.0.13
          Jay Balunas Novice

          hmm - for some reason a components Event lists is coming back null which is causing this.


          We need to know a little more to be able to figure this out. 



          • Was there anything useful above or below the exception that might point to a suspect?

          • Could you search the logs for event or component related issues?

          • If possible could you turn the logging up to debug so that we can see what component behavior?

          • Have you tried diffing the JPA example and examining common config files?



          It might be related to trinidad, although without more info I can't be sure.


          Thanks,
          Jay

          • 2. Re: Problem deploying SEAM App to WebSphere 6.1.0.13
            Vijay Koppuravuri Newbie

            This is all I see in the stack trace.


            ---- Begin backtrace for Nested Throwables
            java.lang.NullPointerException
                 at org.jboss.seam.jsf.SeamViewHandler.calculateLocale(SeamViewHandler.java:55)
                 at org.ajax4jsf.application.ViewHandlerWrapper.calculateLocale(ViewHandlerWrapper.java:68)
                 at com.sun.facelets.FaceletViewHandler.calculateLocale(FaceletViewHandler.java:788)
                 at javax.faces.application.ViewHandlerWrapper.calculateLocale(ViewHandlerWrapper.java:91)
                 at org.ajax4jsf.application.ViewHandlerWrapper.calculateLocale(ViewHandlerWrapper.java:68)
                 at com.sun.faces.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:350)
                 at org.jboss.seam.jsf.SeamViewHandler.createView(SeamViewHandler.java:68)
                 at org.ajax4jsf.application.ViewHandlerWrapper.createView(ViewHandlerWrapper.java:84)
                 at org.ajax4jsf.application.AjaxViewHandler.createView(AjaxViewHandler.java:91)
                 at com.sun.facelets.FaceletViewHandler.createView(FaceletViewHandler.java:799)
                 at javax.faces.application.ViewHandlerWrapper.createView(ViewHandlerWrapper.java:121)
                 at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:118)
                 at org.ajax4jsf.application.ViewHandlerWrapper.createView(ViewHandlerWrapper.java:84)
                 at org.ajax4jsf.application.AjaxViewHandler.createView(AjaxViewHandler.java:91)
                 at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:203)
                 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 com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
                 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
                 at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
                 at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
                 at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
                 at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
                 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
                 at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                 at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
                 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
                 at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
                 at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
                 at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
                 at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
                 at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
                 at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
                 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
                 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
                 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
                 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:165)
                 at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
                 at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
                 at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
                 at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
                 at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
                 at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
                 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
            
            [9/14/08 15:24:42:531 CDT] 00000021 WebApp        E   [Servlet Error]-[Faces Servlet]: java.lang.NullPointerException
                 at org.jboss.seam.jsf.SeamViewHandler.calculateLocale(SeamViewHandler.java:55)
                 at org.ajax4jsf.application.ViewHandlerWrapper.calculateLocale(ViewHandlerWrapper.java:68)
                 at com.sun.facelets.FaceletViewHandler.calculateLocale(FaceletViewHandler.java:788)
                 at javax.faces.application.ViewHandlerWrapper.calculateLocale(ViewHandlerWrapper.java:91)
                 at org.ajax4jsf.application.ViewHandlerWrapper.calculateLocale(ViewHandlerWrapper.java:68)
                 at com.sun.faces.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:350)
                 at org.jboss.seam.jsf.SeamViewHandler.createView(SeamViewHandler.java:68)
                 at org.ajax4jsf.application.ViewHandlerWrapper.createView(ViewHandlerWrapper.java:84)
                 at org.ajax4jsf.application.AjaxViewHandler.createView(AjaxViewHandler.java:91)
                 at com.sun.facelets.FaceletViewHandler.createView(FaceletViewHandler.java:799)
                 at javax.faces.application.ViewHandlerWrapper.createView(ViewHandlerWrapper.java:121)
                 at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:118)
                 at org.ajax4jsf.application.ViewHandlerWrapper.createView(ViewHandlerWrapper.java:84)
                 at org.ajax4jsf.application.AjaxViewHandler.createView(AjaxViewHandler.java:91)
                 at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:203)
                 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 com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
                 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
                 at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
                 at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
                 at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
                 at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
                 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
                 at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                 at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
                 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
                 at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
                 at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
                 at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
                 at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
                 at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
                 at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
                 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
                 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
                 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
                 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:165)
                 at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
                 at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
                 at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
                 at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
                 at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
                 at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
                 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)