Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.8DR#2, 1.8
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Liferay
    • Workaround Exists:
      Yes
    • Workaround Description:
      Code modifications in ContextPathConcurrencyIssue.txt

      Description

      Note from user:

      We came across this one while researching a concurrency issue. While this one doesn't affect us directly and hence I cannot test it (because in our specific configuration contextPath is always set to the same value within an instance of MainServlet) it will have problems in a scenario where there are multiple contextPaths. I have confirmed that multiple requests will overwrite each other in this scenario.

      The fix essentially removes the instance value and operates on the Request object which is passed through to the FileLocator.

        Activity

        Tyler Johnson created issue -
        Tyler Johnson made changes -
        Field Original Value New Value
        Attachment ContextPathConcurrencyIssue.txt [ 11381 ]
        Tyler Johnson made changes -
        Salesforce Case [50070000007CJ1P]
        Tyler Johnson made changes -
        Workaround Description Code supplied in ContextPathConcurrencyIssue.txt Code modifications in ContextPathConcurrencyIssue.txt
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18004 Mon Dec 08 13:08:31 MST 2008 mircea.toma ICE-3834 Use a ThreadLocal variable to carry the current context path.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainServlet.java
        Hide
        Mircea Toma added a comment -

        Use a ThreadLocal variable to carry the current context path.

        Show
        Mircea Toma added a comment - Use a ThreadLocal variable to carry the current context path.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.8DR#2 [ 10142 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.8 [ 10161 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Mircea Toma [ mircea.toma ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: