Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-4037

OutOfMemoryError because domain registry holds remote endpoint references created by SCAClientFactory.getService

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-SCA-2.0
    • None
    • None
    • None
    • Patch Available

    Description

      RuntimeEndpointReferenceImpl has the following code to add an endpoint reference to the domain registry.

      if (!getReference().getName().startsWith("$self$."))
      compositeContext.getEndpointRegistry().addEndpointReference(this);

      The check for a reference name starting with $self$ is intended to prevent references created by SCAClientFactory.getService() from being added to the registry. The check works fine for references to colocated services. However references to remote services start with a different string, $sca.client$.

      Attachments

        1. TUSCANY-4037-rev1.patch
          0.9 kB
          Greg Dritschler

        Activity

          People

            Unassigned Unassigned
            gregdritschler Greg Dritschler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: