You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "wangfeng (JIRA)" <tu...@ws.apache.org> on 2008/03/26 11:53:27 UTC
[jira] Created: (TUSCANY-2141) If the composite has a cyclic
include,throw an OutOfMemory exception
If the composite has a cyclic include,throw an OutOfMemory exception
--------------------------------------------------------------------
Key: TUSCANY-2141
URL: https://issues.apache.org/jira/browse/TUSCANY-2141
Project: Tuscany
Issue Type: Bug
Components: Java SCA Core Runtime
Affects Versions: Java-SCA-1.2
Reporter: wangfeng
Fix For: Java-SCA-1.2
If the composite has a cyclic include,tuscany will throw an OutOfMemory exception when parsing the include.
Demo1Composite.composite
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
targetNamespace="http://sample"
xmlns:sample="http://sample"
name="Demo1Composite"
<include name="sample:Demo2Composite"/>
</composite>
Demo2Composite.composite
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
targetNamespace="http://sample"
xmlns:sample="http://sample"
name="Demo2Composite">
<include name="sample:Demo1Composite"/>
</composite>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Updated: (TUSCANY-2141) If the composite has a cyclic
include,throw an OutOfMemory exception
Posted by "wangfeng (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
wangfeng updated TUSCANY-2141:
------------------------------
Attachment: testcase.zip
diff.txt
The patch will detect the cyclic state.
If found,logging an warning.
> If the composite has a cyclic include,throw an OutOfMemory exception
> --------------------------------------------------------------------
>
> Key: TUSCANY-2141
> URL: https://issues.apache.org/jira/browse/TUSCANY-2141
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-1.2
> Reporter: wangfeng
> Fix For: Java-SCA-1.2
>
> Attachments: diff.txt, testcase.zip
>
>
> If the composite has a cyclic include,tuscany will throw an OutOfMemory exception when parsing the include.
> Demo1Composite.composite
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> targetNamespace="http://sample"
> xmlns:sample="http://sample"
> name="Demo1Composite"
> <include name="sample:Demo2Composite"/>
> </composite>
> Demo2Composite.composite
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> targetNamespace="http://sample"
> xmlns:sample="http://sample"
> name="Demo2Composite">
> <include name="sample:Demo1Composite"/>
> </composite>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Assigned: (TUSCANY-2141) If the composite has a cyclic
include,throw an OutOfMemory exception
Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raymond Feng reassigned TUSCANY-2141:
-------------------------------------
Assignee: Raymond Feng
> If the composite has a cyclic include,throw an OutOfMemory exception
> --------------------------------------------------------------------
>
> Key: TUSCANY-2141
> URL: https://issues.apache.org/jira/browse/TUSCANY-2141
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-1.2
> Reporter: wangfeng
> Assignee: Raymond Feng
> Fix For: Java-SCA-1.2
>
> Attachments: diff.txt, testcase.zip
>
>
> If the composite has a cyclic include,tuscany will throw an OutOfMemory exception when parsing the include.
> Demo1Composite.composite
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> targetNamespace="http://sample"
> xmlns:sample="http://sample"
> name="Demo1Composite"
> <include name="sample:Demo2Composite"/>
> </composite>
> Demo2Composite.composite
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> targetNamespace="http://sample"
> xmlns:sample="http://sample"
> name="Demo2Composite">
> <include name="sample:Demo1Composite"/>
> </composite>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Resolved: (TUSCANY-2141) If the composite has a cyclic
include,throw an OutOfMemory exception
Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raymond Feng resolved TUSCANY-2141.
-----------------------------------
Resolution: Fixed
Patch applied under 641417. Thank you for the contribution!
> If the composite has a cyclic include,throw an OutOfMemory exception
> --------------------------------------------------------------------
>
> Key: TUSCANY-2141
> URL: https://issues.apache.org/jira/browse/TUSCANY-2141
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-1.2
> Reporter: wangfeng
> Assignee: Raymond Feng
> Fix For: Java-SCA-1.2
>
> Attachments: diff.txt, testcase.zip
>
>
> If the composite has a cyclic include,tuscany will throw an OutOfMemory exception when parsing the include.
> Demo1Composite.composite
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> targetNamespace="http://sample"
> xmlns:sample="http://sample"
> name="Demo1Composite"
> <include name="sample:Demo2Composite"/>
> </composite>
> Demo2Composite.composite
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> targetNamespace="http://sample"
> xmlns:sample="http://sample"
> name="Demo2Composite">
> <include name="sample:Demo1Composite"/>
> </composite>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org