OutOfMemoryError because domain registry holds remote endpoint references created by SCAClientFactory.getService ----------------------------------------------------------------------------------------------------------------
Key: TUSCANY-4037 URL: https://issues.apache.org/jira/browse/TUSCANY-4037 Project: Tuscany Issue Type: Bug Affects Versions: Java-SCA-2.0 Reporter: Greg Dritschler RuntimeEndpointReferenceImpl has the following code to add an endpoint reference to the domain registry. if (!refName.startsWith("$self$.") && !refName.startsWith("$sca.client$.")) 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$. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira