You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Greg Dritschler (Created) (JIRA)" <de...@tuscany.apache.org> on 2012/04/06 02:52:21 UTC
[jira] [Created] (TUSCANY-4037) OutOfMemoryError because domain
registry holds remote endpoint references created by
SCAClientFactory.getService
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
[jira] [Updated] (TUSCANY-4037) OutOfMemoryError because domain
registry holds remote endpoint references created by
SCAClientFactory.getService
Posted by "Greg Dritschler (Updated) (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Dritschler updated TUSCANY-4037:
-------------------------------------
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$.
was:
RuntimeEndpointReferenceImpl has the following code to add an endpoint reference to the domain registry.
if (!refName.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$.
> 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.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
[jira] [Updated] (TUSCANY-4037) OutOfMemoryError because domain
registry holds remote endpoint references created by
SCAClientFactory.getService
Posted by "Greg Dritschler (Updated) (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Dritschler updated TUSCANY-4037:
-------------------------------------
Attachment: TUSCANY-4037.patch
> 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.patch
>
>
> RuntimeEndpointReferenceImpl has the following code to add an endpoint reference to the domain registry.
> if (!refName.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
[jira] [Updated] (TUSCANY-4037) OutOfMemoryError because domain
registry holds remote endpoint references created by
SCAClientFactory.getService
Posted by "Greg Dritschler (Updated) (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Dritschler updated TUSCANY-4037:
-------------------------------------
Attachment: (was: TUSCANY-4037.patch)
> 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 (!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
[jira] [Updated] (TUSCANY-4037) OutOfMemoryError because domain
registry holds remote endpoint references created by
SCAClientFactory.getService
Posted by "Greg Dritschler (Updated) (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Dritschler updated TUSCANY-4037:
-------------------------------------
Description:
RuntimeEndpointReferenceImpl has the following code to add an endpoint reference to the domain registry.
if (!refName.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$.
was:
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$.
> 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$."))
> 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
[jira] [Updated] (TUSCANY-4037) OutOfMemoryError because domain
registry holds remote endpoint references created by
SCAClientFactory.getService
Posted by "Greg Dritschler (Updated) (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Dritschler updated TUSCANY-4037:
-------------------------------------
Attachment: TUSCANY-4037-rev1.patch
Updated the patch to also keep callback references from being added.
> 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
[jira] [Closed] (TUSCANY-4037) OutOfMemoryError because domain
registry holds remote endpoint references created by
SCAClientFactory.getService
Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
[ 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