Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-359

Deadlock while loading resources

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Labels:
    • Complexity:
      Medium
    • Sprint:
      RESTWS Sprint - Feb 2013

      Description

      ModuleUtil.checkRequiredVersion calls Context.getMessageSourceService(), thus it can't be used while instantiating beans. It leads to a deadlock, because getting a service requires spring to be already up.

      Resources must be loaded lazily with the first REST call.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              raff Rafal Korytkowski
              Reporter:
              raff Rafal Korytkowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 3 hours Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 3 hours Remaining Estimate - 1 hour
                  3h