5 Replies Latest reply on Feb 21, 2013 7:10 AM by chrisperrault

    Jboss USer login session timeout

    b1380

      Hi All

      I am new jboss user. I downloaded 4.2.2 version of jboss and was trying to configure it. So we wrote an application and deployed it in the the Jboss.
      The application was deployed successfully and the database connectivity to mysql were also working fine.

      The actual problem is with one of the tester. He actually needs to get higher session timeout for the application. He wants to have 10 hours session timeout. I configured Http Seesion timeout to 600 minutes in the applications web.xml.

      The session remained the same. But the user was kicked out to the login page and he needs to login again with the username and password. But the http session was working perfectly.

      The tester told he dont want to login each time he is idle for more than 30 minutes.

      Is there any way to make the User Login session Timeout to 10 Hours?

      I know this is a weird request. Please do help me

      Thanks & Regards,
      Biju


        • 1. Re: Jboss USer login session timeout
          peterj

          There is another web.xml file at server/default/jboss-web.deployer/conf/web.xml. It has session timeout set to 30 minutes. Try changing that one and see if it helps.

          • 2. Re: Jboss USer login session timeout
            b1380

            Hi Peter,

            Thanks a lot for the reply. I tried the option you specified.
            server/default/deploy/jboss-web.deployer/conf/web.xml and made the value to 2 hours. But still the login page is comming back after 30 minutes.
            Anyway the http session is still there after loggin in.

            Is there any other option that i can give a try.

            Regards
            Biju

            • 3. Re: Jboss USer login session timeout
              peterj

              Does the tester, by any chance, close his/her browser at any time?

              I know that for our portal I set the timeout to 10 hours so that I do not have to log back in during the day. And that is working for me - as long as I keep Firefox running the portal never asks me to log in again that day.

              • 4. Re: Jboss USer login session timeout
                chrisperrault

                I know this is an old issue, but has anyone ever found a resolution to this (or should I start a new thread)? I'm having the same problem with the Web Console to JON. We are trying to push out the timeout so that it happens after 8 hours. I've changed the session-timeout value in the web.xml file under the JON home and restarted the rhq-server.sh service but the users are still getting timed out after about 2 hours. Should I be looking at browser settings, or are there other settings I should be looking at?

                • 5. Re: Jboss USer login session timeout
                  chrisperrault

                  Just as a followup, I was told by a Redhat rep that this is a hardcoded setting for JON. The only workaround would be a browser pluging to automatically refresh the browser within the hour.