Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2913

Optimize handling of jvmRoute in ClusteredSession ids

    XMLWordPrintable

Details

    Description

      The distributed session management logic has too many calls to strip a potential jvmRoute from a session id so the raw id can be used. To clean this up we need to:

      1) Only strip the jvmRoute if useJK is true.
      2) Wherever possible, strip the jvmRoute once at the edge points of the code, and thereafter pass the stripped id through internal methods. Internal methods should just assume the stripped id has been passed.
      3) Maintain the stripped route as a transient property of the session itself. This will make it available to code that has access to the session object, but not to a stripped id.

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified