Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-2125

Fix ContextClassLoader proxy issues in KEWHttpInvokerServiceExporter

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.3
    • Component/s: Development
    • Labels:
      None
    • Rice Module:
      KSB

      Description

      KEWHttpInvokerServiceExporter was wrapping exported services with a ContextClassLoaderProxy using the classloader of this service. This is a bad implementation, instead services should be proxied using the classloader of the context from which they were exported.

      For example, even though a service class might be loaded from the core application, if it is exported inside of a plugin, the context classloader proxy should switch the context classloader to the plugins classloader, not the core applications classloader.

      This was causing ObjectRemotingTest to fail.

        Attachments

          Issue Links

            Activity

            ewestfal Eric Westfall created issue -
            ewestfal Eric Westfall made changes -
            Field Original Value New Value
            Status Open [ 1 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]
            ewestfal Eric Westfall made changes -
            Link This issue is related to KULRICE-1991 [ KULRICE-1991 ]
            spatterson Shem Patterson (Inactive) made changes -
            Workflow custom [ 56771 ] Copy of custom for rice [ 210165 ]
            spatterson Shem Patterson (Inactive) made changes -
            Workflow Copy of custom for rice [ 210165 ] custom [ 219913 ]
            spatterson Shem Patterson (Inactive) made changes -
            Workflow custom [ 219913 ] Rice Workflow [ 229661 ]

              People

              • Assignee:
                ewestfal Eric Westfall
                Reporter:
                ewestfal Eric Westfall
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified