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 2011/08/20 10:01:29 UTC

[jira] [Updated] (TUSCANY-3921) OASIS spec compliance test validation failure out of domain-node

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

ant elder updated TUSCANY-3921:
-------------------------------

    Fix Version/s: Java-SCA-2.0

> OASIS spec compliance test validation failure out of domain-node
> ----------------------------------------------------------------
>
>                 Key: TUSCANY-3921
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3921
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-2.0-Beta2
>         Environment: WebSphere SCA
>            Reporter: Brian Sullivan
>             Fix For: Java-SCA-2.0
>
>
> I am running OASIS spec compliance test in another hosting environment. Contribution validation fails with:org.apache.tuscany.sca.monitor.ValidationException: [Contribution: JCA_General_POJO] - [POL30016] Excluded Intent SOAP not found for intent antiSoap
> Adding the following to modules\domain-node\src\main\java\org\apache\tuscany\sca\impl\DeployedComposite.java
>     protected void build() throws ValidationException, ActivationException, ContributionResolveException, CompositeBuilderException {
>         
>         List<Contribution> contributions = new ArrayList<Contribution>();
>         contributions.add(contribution);
>         contributions.get(0).getDeployables().clear();
>         contributions.get(0).getDeployables().add(composite);
> >        for (Contribution contribution : dependedOnContributions){
> >>           if (!contributions.contains(contribution)){
> >>                contributions.add(contribution);
> >>           }
> >       }
> resolves the issue.  Note however that the >> lines are needed because dependedOnContributions contains redundant contribution entries

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira