2 Replies Latest reply on Jun 22, 2009 11:55 AM by pablo.fraga1975

    SSO session destroyed using a4j:poll

    pablo.fraga1975

      Hi,

      I am using JBoss 4.2.0, all conf, ClusterdSSOValve with cookiedomain, ajax4jsf, richfaces 3.3.0 GA and a4j:poll component in some jsp pages, the whole thing in a production environment that receives more than 400.000 tx per day.

      We are experiencing an unexpected behaviour, where we login properly, hit some pages in one of the web apps. then go to another web app. where we have rich graphics in a jsp using a4j:poll component. This page works fine even for hours, refreshing data correctly, our session timeout is 30 minutes (default value), in each request fired by the a4j:poll component the session is accessed, but, after some hours (not always the same time) the whole sessions are destroyed and we can see it because we have implemented HttpSessionListener in each web app and the page freezes.

      Don't know what is happening and this doesn't happens in our test environment, the difference we could see is the sustained overload.

      Any more information that you need, just ask me about it.

      Thanks.

        • 1. Re: SSO session destroyed using a4j:poll
          genman

          Not really a beginner's question, I would think. Maybe the a4j:poll doesn't extend the life of the session? For instance, do you see any issue when the session cannot expire? You can try the ajax4jsf forums.

          • 2. Re: SSO session destroyed using a4j:poll
            pablo.fraga1975

             

            "genman" wrote:
            Not really a beginner's question, I would think. Maybe the a4j:poll doesn't extend the life of the session? For instance, do you see any issue when the session cannot expire? You can try the ajax4jsf forums.


            Hi Genman,

            Thanks for your reply.

            I know it is not a beginner's question, but, i didn't find a better topic related with the issue of "SSO and ajax4jsf" that we are experiencing. I will try in the forum of ajax4jsf as you told me.

            Nevertheless, i would like to tell you that a4j:poll does extend the life of the session, till, "something" happens that expires all the sessions related with SSO, we couldn't find the real cause, and as i told in my post earlier, this doesn't happens in the test environment with practically no load.

            In the production environment we have 2 nodes running and one of them receives more load than the other. In jira i saw issues talking about problems with FC protocol used by jgroups, the protocol used by JBossCache to synchronize the state of the whole cluster, that could malfunction with sustained overload.

            Thanks anyway.