Uploaded image for project: 'i2b2 Core Software'
  1. i2b2 Core Software
  2. CORE-385

"Session invalid" error caused by improper VM time zone settings

    XMLWordPrintable

Details

    • Documentation
    • Status: New
    • Trivial
    • Resolution: Unresolved
    • 1.7.12
    • None
    • Documentation
    • None
    • Rank:
      0|s000cw:

    Description

      There should be documentation alerting the user to check the time zone settings on their virtual machine to make sure that it aligns with the time zone of the database.

      When a user logs in, two timestamps are created in PM_USER_SESSION. The first time stamp called ENTRY_DATE is when the user logs in to the web client. The second time stamp, EXPIRED_DATE, is when that session is no longer valid. If the time zone of the virtual machine is far enough ahead, then the current time of the VM will always be after the EXPIRED_DATE, leading to a cryptic "Session invalid" error in Wildfly logs.

      The fix is to run timedatectl (or some equivalent) to change the time zone of the VM.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mzd2016 Marcos Davila
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: