You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Antoine Toulme (JIRA)" <ji...@apache.org> on 2010/01/21 01:56:54 UTC

[jira] Created: (ODE-750) BPEL compiler goes into a recursive infinite loop when wsdl dependencies refer to each other.

BPEL compiler goes into a recursive infinite loop when wsdl dependencies refer to each other.
---------------------------------------------------------------------------------------------

                 Key: ODE-750
                 URL: https://issues.apache.org/jira/browse/ODE-750
             Project: ODE
          Issue Type: Bug
          Components: BPEL Compilation/Parsing
    Affects Versions: 1.3.3
            Reporter: Antoine Toulme
             Fix For: 1.3.4


The BPEL compiler fails to compile a bpel process that depends on WSDL files that refer to each other.

It goes into a recursive loop where each wsdl is added to the definitions until a StackOverflowError is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (ODE-750) BPEL compiler goes into a recursive infinite loop when wsdl dependencies refer to each other.

Posted by "Karthick Sankarachary (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karthick Sankarachary resolved ODE-750.
---------------------------------------

    Resolution: Fixed

svn commit -m "ODE-750 Handle Recursive WSDL Dependencies in BPEL Compiler"
Sending        bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/WSDLRegistry.java
Adding         bpel-scripts/src/main/resources/2.0/good/circularReference
Adding         bpel-scripts/src/main/resources/2.0/good/circularReference/CircularReference.bpel
Adding         bpel-scripts/src/main/resources/2.0/good/circularReference/CircularReference1.wsdl
Adding         bpel-scripts/src/main/resources/2.0/good/circularReference/CircularReference2.wsdl
Transmitting file data ....
Committed revision 901836.

> BPEL compiler goes into a recursive infinite loop when wsdl dependencies refer to each other.
> ---------------------------------------------------------------------------------------------
>
>                 Key: ODE-750
>                 URL: https://issues.apache.org/jira/browse/ODE-750
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Compilation/Parsing
>    Affects Versions: 1.3.3
>            Reporter: Antoine Toulme
>             Fix For: 1.3.4
>
>         Attachments: fix_for_circular_dependency, test_case_circular_dependency
>
>
> The BPEL compiler fails to compile a bpel process that depends on WSDL files that refer to each other.
> It goes into a recursive loop where each wsdl is added to the definitions until a StackOverflowError is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ODE-750) BPEL compiler goes into a recursive infinite loop when wsdl dependencies refer to each other.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803463#action_12803463 ] 

Hudson commented on ODE-750:
----------------------------

Integrated in ODE-1.x #41 (See [http://hudson.zones.apache.org/hudson/job/ODE-1.x/41/])
     Handle Recursive WSDL Dependencies in BPEL Compiler


> BPEL compiler goes into a recursive infinite loop when wsdl dependencies refer to each other.
> ---------------------------------------------------------------------------------------------
>
>                 Key: ODE-750
>                 URL: https://issues.apache.org/jira/browse/ODE-750
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Compilation/Parsing
>    Affects Versions: 1.3.3
>            Reporter: Antoine Toulme
>             Fix For: 1.3.4
>
>         Attachments: fix_for_circular_dependency, test_case_circular_dependency
>
>
> The BPEL compiler fails to compile a bpel process that depends on WSDL files that refer to each other.
> It goes into a recursive loop where each wsdl is added to the definitions until a StackOverflowError is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-750) BPEL compiler goes into a recursive infinite loop when wsdl dependencies refer to each other.

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme updated ODE-750:
-------------------------------

    Attachment: test_case_circular_dependency

A test case showing the behavior with circular dependencies.

> BPEL compiler goes into a recursive infinite loop when wsdl dependencies refer to each other.
> ---------------------------------------------------------------------------------------------
>
>                 Key: ODE-750
>                 URL: https://issues.apache.org/jira/browse/ODE-750
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Compilation/Parsing
>    Affects Versions: 1.3.3
>            Reporter: Antoine Toulme
>             Fix For: 1.3.4
>
>         Attachments: test_case_circular_dependency
>
>
> The BPEL compiler fails to compile a bpel process that depends on WSDL files that refer to each other.
> It goes into a recursive loop where each wsdl is added to the definitions until a StackOverflowError is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-750) BPEL compiler goes into a recursive infinite loop when wsdl dependencies refer to each other.

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme updated ODE-750:
-------------------------------

    Attachment: fix_for_circular_dependency

The fix for the circular dependency issue: we just return whenever we detect we already parsed the resource.
An other way would consist of throwing an error, but I believe that'd be a bad idea in case the bpel process depends on two wsdl files that both depend on a third one.

> BPEL compiler goes into a recursive infinite loop when wsdl dependencies refer to each other.
> ---------------------------------------------------------------------------------------------
>
>                 Key: ODE-750
>                 URL: https://issues.apache.org/jira/browse/ODE-750
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Compilation/Parsing
>    Affects Versions: 1.3.3
>            Reporter: Antoine Toulme
>             Fix For: 1.3.4
>
>         Attachments: fix_for_circular_dependency, test_case_circular_dependency
>
>
> The BPEL compiler fails to compile a bpel process that depends on WSDL files that refer to each other.
> It goes into a recursive loop where each wsdl is added to the definitions until a StackOverflowError is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.