[ 
https://issues.apache.org/jira/browse/TUSCANY-3562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868737#action_12868737
 ] 

Simon Nash commented on TUSCANY-3562:
-------------------------------------

I checked in some changes under r945741 that appear to work around the problem 
for the fullapp (distributed) scenario.  I'll leave this issue open while I do 
more testing and see if the problem occurs again.

The changes are:
1. Change the namespace for the BasicAuthenticationPolicySet policySet 
definition in the creditcard-payment-jaxb-policy contribution so that it 
matches the definition for the BasicAuthenticationPolicySet policySet in the 
payment-java-policy contribution.
2. Reorder the includes in the domain.composite file in the 
domainconfig/fullapp module so that the payment contribution comes before the 
creditcard contribution.

> Travel sample fullapp (distributed) scenario fails with policy exception
> ------------------------------------------------------------------------
>
>                 Key: TUSCANY-3562
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3562
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Travel Sample
>            Reporter: Simon Nash
>            Assignee: Simon Nash
>            Priority: Critical
>
> The travel sample fullapp (distributed) scenario is failing if the 
> creditcard-payment-jaxb-policy contribution is built using ant.  This problem 
> is described in detail in TUSCANY-3561.  This scenario succeeds if this 
> contribution is build by maven, presumably because there is some difference 
> in the order on disk of the contents of the contribution.  The files in the 
> contribution are the same in both cases, as I have been able to demonstrate 
> by starting with an ant-built contribution and preventing or provoking the 
> failure by adding, removing, or renaming dummy files in the contribution.  
> These dummy files aren't used by Tuscany but their presence or absence is 
> enough to change the order in which the contribution's files are processed by 
> the domain manager.

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

Reply via email to