Return-Path: X-Original-To: apmail-tuscany-dev-archive@www.apache.org Delivered-To: apmail-tuscany-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA1C295B2 for ; Fri, 6 Apr 2012 00:52:43 +0000 (UTC) Received: (qmail 85292 invoked by uid 500); 6 Apr 2012 00:52:43 -0000 Delivered-To: apmail-tuscany-dev-archive@tuscany.apache.org Received: (qmail 85165 invoked by uid 500); 6 Apr 2012 00:52:42 -0000 Mailing-List: contact dev-help@tuscany.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tuscany.apache.org Delivered-To: mailing list dev@tuscany.apache.org Received: (qmail 85148 invoked by uid 99); 6 Apr 2012 00:52:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2012 00:52:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2012 00:52:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 435EB35A82C for ; Fri, 6 Apr 2012 00:52:21 +0000 (UTC) Date: Fri, 6 Apr 2012 00:52:21 +0000 (UTC) From: "Greg Dritschler (Created) (JIRA)" To: dev@tuscany.apache.org Message-ID: <770277137.20839.1333673541277.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (TUSCANY-4037) OutOfMemoryError because domain registry holds remote endpoint references created by SCAClientFactory.getService MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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