You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <de...@tuscany.apache.org> on 2012/05/01 10:13:45 UTC

[jira] [Closed] (TUSCANY-4037) OutOfMemoryError because domain registry holds remote endpoint references created by SCAClientFactory.getService

     [ https://issues.apache.org/jira/browse/TUSCANY-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder closed TUSCANY-4037.
------------------------------

    Resolution: Fixed

Patch applied, thanks for the fix Greg.
                
> 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
>         Attachments: TUSCANY-4037-rev1.patch
>
>
> 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$. 

--
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