6 Replies Latest reply on Oct 5, 2009 4:33 AM by Raga Deepika Tanguturi

    Help! Timeout occuring.

    John Buttitto Newbie

      I am running a pretty reasonable version of a series of JSF xhtml in different portals. I am using JBOSS 2.6.5SP1 Portal Bridge B3. When I get into a session and start viewing some pages I would expect the session to timeout after 2hours perconfig.

      When I get back to the app and hit a key, I would expect to see a login prompt in an attempt to kickstart the session.


      What I get is:

      08:16:51,063 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
      INFO | jvm 1 | 2008/08/29 08:16:51 | javax.faces.FacesException: No saved portlet window state for an id ConfigurationPortlet2DCCB4AA0DC8790FAE3205694A9475F2:view:jbpns_2fdefault_2fManage_20SVP_2fConfigurationPortletWindowsnpbj
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.jboss.portletbridge.context.ServletExternalContextImpl.(ServletExternalContextImpl.java:96)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.jboss.portletbridge.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:164)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:239)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.ajax4jsf.Filter.doFilter(Filter.java:175)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      INFO | jvm 1 | 2008/08/29 08:16:51 | at java.lang.Thread.run(Unknown Source)

      Has anyone seen this kind of thing before? I know there is a config setting I am missing, but am confused about where to look.

      Any thoughts would be useful.

        • 1. Re: Help! Timeout occuring.
          Wesley Hales Master

          I have been seeing the viewID null exception, but not this particular one. Can you list your exact environemnt... JSF, Facelets versions along with Seam? or RichFaces?

          • 2. Re: Help! Timeout occuring.
            Wesley Hales Master

            Also, can you post any further portlet bridge related problems here:
            http://www.jboss.com/index.html?module=bb&op=viewforum&f=273

            • 3. Re: Help! Timeout occuring.
              John Buttitto Newbie

              I will cross post to the bridge (I have to admit I was not sure), but I was suspecting this might be related to a timeout associated with the session that I am missing related to the server. Or something I need to do in my portlets



              JSF SUN RI 1.2, RIchafaces 3.2.0GA, Facelets... NOt positive. No SEAM


              Since I cant get 3.2.2 and Bridge B4 to work well with all of the Richfaces/A4j I use 3.2.0GA..


              THanks for looking. I may through a copy of this up on the Bridge also.



              • 4. Re: Help! Timeout occuring.
                Daniel Ku Newbie

                Anyone with a hint? I have the same problem with my own portlet. Exception is the same. But my configuration differs a little bit:

                - Sun JSF RI 1.2
                - Richfaces 3.2.2 GA
                - Facelets 1.1.4
                - JBoss Portal 2.6.5 GA
                - PortletBridge B4

                Problem occoured by doing the following:
                - Logged in
                - go to MyPortlet page
                - click on a suggestionBox

                All fine until now:
                - wait 20 Min. (session timeout configured to 15 Min.)
                - click after that time on suggestionBox again
                - FacesException occours

                Nice2Know if this can be fixed or an workaround exists that can be hide this exception from a user (perhaps by a redirect to login page).

                wbr,

                DanielK

                • 5. Re: Help! Timeout occuring.
                  yacoob kamal Newbie

                  Hi,

                  Iam facing the same issue. Any help will be greatly helpful.

                  I get this exception if i leave my browser idle for 10 minutes.

                  16:02:37,359 ERROR [[FacesServlet]] Servlet.service() for servlet FacesServlet threw exception
                  javax.faces.FacesException: No saved portlet window state for an id AlertConsolePortlet8791706BDFF9B791613F82AFA8CC8859:view:jbpns_2fMobile_20Authentication_20Web_20Portal_2fAlert_20Console_2fAlertCon
                  solePortletInstanceWindowsnpbj
                  at org.jboss.portletbridge.context.ServletExternalContextImpl.(ServletExternalContextImpl.java:96)
                  at org.jboss.portletbridge.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:164)
                  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:260)
                  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:177)
                  at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
                  at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
                  at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
                  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:182)
                  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:619)

                  Thanks
                  Yacoob

                  • 6. Re: Help! Timeout occuring.
                    Raga Deepika Tanguturi Newbie

                    I'm also getting same exception if i leave my browser for 10 min. I'm using jsf-facelets 1.1.14, Richfaces 3.2, portal bridge 1.0.0.B6 and portal server 2.6.4. Can anyone help me?