You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jean-Sebastien Delfino (JIRA)" <de...@tuscany.apache.org> on 2008/07/26 03:35:31 UTC

[jira] Commented: (TUSCANY-2499) Build error trying to resolve policy intent in binding-ws-axis2

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

Jean-Sebastien Delfino commented on TUSCANY-2499:
-------------------------------------------------

I have committed a work around in SVN r679944. The underlying issue (problems resolving provided policy intents) still needs to be fixed.

> Build error trying to resolve policy intent in binding-ws-axis2
> ---------------------------------------------------------------
>
>                 Key: TUSCANY-2499
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2499
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>         Environment: Linux RHEL5
>            Reporter: Jean-Sebastien Delfino
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>
> Building SVN r679890 gives the following error:
> testSOAP12Endpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)  Time elapsed: 1.229 sec  <<< ERROR!
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: Provided Intent - {http://tuscany.apache.org/xmlns/sca/1.0}wsAuthentication not found for PolicySet {http://tuscany.apache.org/xmlns/sca/1.0}wsClientAuthenticationIntegrityPolicy
>         at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:276)
>         at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:70)
>         at org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase.setUp(QuestionMarkWSDLTestCase.java:130)
>         at junit.framework.TestCase.runBare(TestCase.java:132)
>         at junit.framework.TestResult$1.protect(TestResult.java:110)
>         at junit.framework.TestResult.runProtected(TestResult.java:128)
>         at junit.framework.TestResult.run(TestResult.java:113)
>         at junit.framework.TestCase.run(TestCase.java:124)
>         at junit.framework.TestSuite.runTest(TestSuite.java:232)
>         at junit.framework.TestSuite.run(TestSuite.java:227)
>         at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
>         at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
>         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
> Caused by: org.osoa.sca.ServiceRuntimeException: Provided Intent - {http://tuscany.apache.org/xmlns/sca/1.0}wsAuthentication not found for PolicySet {http://tuscany.apache.org/xmlns/sca/1.0}wsClientAuthenticationIntegrityPolicy
>         at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.analyseProblems(DefaultSCADomain.java:309)
>         at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:334)
>         at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:183)
>         at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:120)
>         at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:242)
>         ... 20 more
> Results :
> Tests in error:
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldNoWSDLTestCase)
> testEchoFoo(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldNoWSDLTestCase)
> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldTestCase)
> testUriPrecedence(org.apache.tuscany.sca.binding.ws.axis2.itests.UriPrecedenceTestCase)
> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.epr.HelloWorldTestCase)
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
> testHelloWorldSOAP(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
> testHelloWorldSOAP11(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
> testHelloWorldSOAP12(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
> testWSDLImportPortEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLImportTestCase)
> testWSDLPortEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLTestCase)
> testCustomEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLTestCase)
> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.WSDLRelativeURITestCase)
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.mixed.WSSecurityMixedTestCase)
> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.WSDLExplicitURITestCase)
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldWSDLMergedTestCase)
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldOMTestCase)
> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.DefaultMultiServiceTestCase)
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.configparams.WSSecurityIntegrityTestCase)
> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.DefaultSingleServiceTestCase)
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.wspolicy.WSSecurityIntegrityTestCase)
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.wspolicy.WSSecurityAuthenticationTestCase)
> testWSDLIncludePortEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLIncludeTestCase)
> testSOAPDefault(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)
> testSOAP11Endpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)
> testSOAP12Endpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)
> Tests run: 30, Failures: 0, Errors: 26, Skipped: 0
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------ 

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


Re: [jira] Commented: (TUSCANY-2499) Build error trying to resolve policy intent in binding-ws-axis2

Posted by Scott Kurz <sc...@gmail.com>.
Yes I did a recent svn checkout followed by an update this morning and then
did a merge of 679944 in reverse
(svn merge . -r 679944:679943).     That sounds correct, right?

Basically they look the same as the original errors (maybe that shouldn't be
surprising?):


Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.629 sec
<<< FAILURE!
testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldTestCase)
Time elapsed: 0.625 sec  <<< ERROR!
org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException:
Provided Intent -
{http://tuscany.apache.org/xmlns/sca/1.0}wsAuthenticationnot found for
PolicySet {
http://tuscany.apache.org/xmlns/sca/1.0}wsClientAuthenticationPolicy
        at
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:276)
        at
org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:70)
        at
org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldTestCase.setUp(HelloWorldTestCase.java:37)
        at junit.framework.TestCase.runBare(TestCase.java:132)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
        at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
        at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
Caused by: org.osoa.sca.ServiceRuntimeException: Provided Intent - {
http://tuscany.apache.org/xmlns/sca/1.0}wsAuthentication not found for
PolicySet {
http://tuscany.apache.org/xmlns/sca/1.0}wsClientAuthenticationPolicy
        at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.analyseProblems(DefaultSCADomain.java:309)
        at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:334)
        at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:183)
        at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:120)
        at
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:242)
        ... 20 more





Thanks,
Scott



On Fri, Aug 1, 2008 at 12:31 PM, Simon Laws <si...@googlemail.com>wrote:

>
>
> On Fri, Aug 1, 2008 at 5:16 PM, Scott Kurz <sc...@gmail.com> wrote:
>
>> I'm stuck on this build break (in HEAD).  Skimmed through the discussions,
>> seemed like one suggestion was to revert
>> Sebastien's fix in r679944... but that just let me with a different set of
>> errors.
>>
>> Anyone know how to get past it?
>>
>> Thanks,
>> Scott
>>
>>
>>
>> On Fri, Jul 25, 2008 at 9:35 PM, Jean-Sebastien Delfino (JIRA) <
>> dev@tuscany.apache.org> wrote:
>>
>>>
>>>    [
>>> https://issues.apache.org/jira/browse/TUSCANY-2499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617113#action_12617113]
>>>
>>> Jean-Sebastien Delfino commented on TUSCANY-2499:
>>> -------------------------------------------------
>>>
>>> I have committed a work around in SVN r679944. The underlying issue
>>> (problems resolving provided policy intents) still needs to be fixed.
>>>
>>> > Build error trying to resolve policy intent in binding-ws-axis2
>>> > ---------------------------------------------------------------
>>> >
>>> >                 Key: TUSCANY-2499
>>> >                 URL:
>>> https://issues.apache.org/jira/browse/TUSCANY-2499
>>> >             Project: Tuscany
>>> >          Issue Type: Bug
>>> >          Components: Java SCA Axis Binding Extension
>>> >         Environment: Linux RHEL5
>>> >            Reporter: Jean-Sebastien Delfino
>>> >            Priority: Critical
>>> >             Fix For: Java-SCA-Next
>>> >
>>> >
>>> > Building SVN r679890 gives the following error:
>>> >
>>> testSOAP12Endpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)
>>>  Time elapsed: 1.229 sec  <<< ERROR!
>>> > org.osoa.sca.ServiceRuntimeException:
>>> org.osoa.sca.ServiceRuntimeException: Provided Intent - {
>>> http://tuscany.apache.org/xmlns/sca/1.0}wsAuthentication<http://tuscany.apache.org/xmlns/sca/1.0%7DwsAuthentication>not found for PolicySet {
>>> http://tuscany.apache.org/xmlns/sca/1.0}wsClientAuthenticationIntegrityPolicy<http://tuscany.apache.org/xmlns/sca/1.0%7DwsClientAuthenticationIntegrityPolicy>
>>> >         at
>>> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:276)
>>> >         at
>>> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:70)
>>> >         at
>>> org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase.setUp(QuestionMarkWSDLTestCase.java:130)
>>> >         at junit.framework.TestCase.runBare(TestCase.java:132)
>>> >         at junit.framework.TestResult$1.protect(TestResult.java:110)
>>> >         at junit.framework.TestResult.runProtected(TestResult.java:128)
>>> >         at junit.framework.TestResult.run(TestResult.java:113)
>>> >         at junit.framework.TestCase.run(TestCase.java:124)
>>> >         at junit.framework.TestSuite.runTest(TestSuite.java:232)
>>> >         at junit.framework.TestSuite.run(TestSuite.java:227)
>>> >         at
>>> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
>>> >         at
>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>> >         at
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
>>> >         at
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
>>> >         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>>> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >         at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >         at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >         at java.lang.reflect.Method.invoke(Method.java:597)
>>> >         at
>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
>>> >         at
>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
>>> > Caused by: org.osoa.sca.ServiceRuntimeException: Provided Intent - {
>>> http://tuscany.apache.org/xmlns/sca/1.0}wsAuthentication<http://tuscany.apache.org/xmlns/sca/1.0%7DwsAuthentication>not found for PolicySet {
>>> http://tuscany.apache.org/xmlns/sca/1.0}wsClientAuthenticationIntegrityPolicy<http://tuscany.apache.org/xmlns/sca/1.0%7DwsClientAuthenticationIntegrityPolicy>
>>> >         at
>>> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.analyseProblems(DefaultSCADomain.java:309)
>>> >         at
>>> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:334)
>>> >         at
>>> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:183)
>>> >         at
>>> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:120)
>>> >         at
>>> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:242)
>>> >         ... 20 more
>>> > Results :
>>> > Tests in error:
>>> >
>>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldNoWSDLTestCase)
>>> >
>>> testEchoFoo(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldNoWSDLTestCase)
>>> >
>>> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldTestCase)
>>> >
>>> testUriPrecedence(org.apache.tuscany.sca.binding.ws.axis2.itests.UriPrecedenceTestCase)
>>> >
>>> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.epr.HelloWorldTestCase)
>>> >
>>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
>>> >
>>> testHelloWorldSOAP(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
>>> >
>>> testHelloWorldSOAP11(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
>>> >
>>> testHelloWorldSOAP12(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
>>> >
>>> testWSDLImportPortEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLImportTestCase)
>>> >
>>> testWSDLPortEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLTestCase)
>>> >
>>> testCustomEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLTestCase)
>>> >
>>> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.WSDLRelativeURITestCase)
>>> >
>>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.mixed.WSSecurityMixedTestCase)
>>> >
>>> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.WSDLExplicitURITestCase)
>>> >
>>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldWSDLMergedTestCase)
>>> >
>>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldOMTestCase)
>>> >
>>> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.DefaultMultiServiceTestCase)
>>> >
>>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.configparams.WSSecurityIntegrityTestCase)
>>> >
>>> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.DefaultSingleServiceTestCase)
>>> >
>>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.wspolicy.WSSecurityIntegrityTestCase)
>>> >
>>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.wspolicy.WSSecurityAuthenticationTestCase)
>>> >
>>> testWSDLIncludePortEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLIncludeTestCase)
>>> >
>>> testSOAPDefault(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)
>>> >
>>> testSOAP11Endpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)
>>> >
>>> testSOAP12Endpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)
>>> > Tests run: 30, Failures: 0, Errors: 26, Skipped: 0
>>> > [INFO]
>>> ------------------------------------------------------------------------
>>> > [ERROR] BUILD FAILURE
>>> > [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> --
>>> This message is automatically generated by JIRA.
>>> -
>>> You can reply to this email to add a comment to the issue online.
>>>
>>>
>>
> What were the errors when you reverted. I'm running without Sebastien's
> change at the moment but I just did a HEAD build and go several errors that
> I don't think are related to this, i.e. they are not in binding.ws.axis2
>
> Simon
>

Re: [jira] Commented: (TUSCANY-2499) Build error trying to resolve policy intent in binding-ws-axis2

Posted by Simon Laws <si...@googlemail.com>.
On Fri, Aug 1, 2008 at 5:16 PM, Scott Kurz <sc...@gmail.com> wrote:

> I'm stuck on this build break (in HEAD).  Skimmed through the discussions,
> seemed like one suggestion was to revert
> Sebastien's fix in r679944... but that just let me with a different set of
> errors.
>
> Anyone know how to get past it?
>
> Thanks,
> Scott
>
>
>
> On Fri, Jul 25, 2008 at 9:35 PM, Jean-Sebastien Delfino (JIRA) <
> dev@tuscany.apache.org> wrote:
>
>>
>>    [
>> https://issues.apache.org/jira/browse/TUSCANY-2499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617113#action_12617113]
>>
>> Jean-Sebastien Delfino commented on TUSCANY-2499:
>> -------------------------------------------------
>>
>> I have committed a work around in SVN r679944. The underlying issue
>> (problems resolving provided policy intents) still needs to be fixed.
>>
>> > Build error trying to resolve policy intent in binding-ws-axis2
>> > ---------------------------------------------------------------
>> >
>> >                 Key: TUSCANY-2499
>> >                 URL: https://issues.apache.org/jira/browse/TUSCANY-2499
>> >             Project: Tuscany
>> >          Issue Type: Bug
>> >          Components: Java SCA Axis Binding Extension
>> >         Environment: Linux RHEL5
>> >            Reporter: Jean-Sebastien Delfino
>> >            Priority: Critical
>> >             Fix For: Java-SCA-Next
>> >
>> >
>> > Building SVN r679890 gives the following error:
>> >
>> testSOAP12Endpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)
>>  Time elapsed: 1.229 sec  <<< ERROR!
>> > org.osoa.sca.ServiceRuntimeException:
>> org.osoa.sca.ServiceRuntimeException: Provided Intent - {
>> http://tuscany.apache.org/xmlns/sca/1.0}wsAuthentication<http://tuscany.apache.org/xmlns/sca/1.0%7DwsAuthentication>not found for PolicySet {
>> http://tuscany.apache.org/xmlns/sca/1.0}wsClientAuthenticationIntegrityPolicy<http://tuscany.apache.org/xmlns/sca/1.0%7DwsClientAuthenticationIntegrityPolicy>
>> >         at
>> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:276)
>> >         at
>> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:70)
>> >         at
>> org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase.setUp(QuestionMarkWSDLTestCase.java:130)
>> >         at junit.framework.TestCase.runBare(TestCase.java:132)
>> >         at junit.framework.TestResult$1.protect(TestResult.java:110)
>> >         at junit.framework.TestResult.runProtected(TestResult.java:128)
>> >         at junit.framework.TestResult.run(TestResult.java:113)
>> >         at junit.framework.TestCase.run(TestCase.java:124)
>> >         at junit.framework.TestSuite.runTest(TestSuite.java:232)
>> >         at junit.framework.TestSuite.run(TestSuite.java:227)
>> >         at
>> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
>> >         at
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>> >         at
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
>> >         at
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
>> >         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> >         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> >         at java.lang.reflect.Method.invoke(Method.java:597)
>> >         at
>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
>> >         at
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
>> > Caused by: org.osoa.sca.ServiceRuntimeException: Provided Intent - {
>> http://tuscany.apache.org/xmlns/sca/1.0}wsAuthentication<http://tuscany.apache.org/xmlns/sca/1.0%7DwsAuthentication>not found for PolicySet {
>> http://tuscany.apache.org/xmlns/sca/1.0}wsClientAuthenticationIntegrityPolicy<http://tuscany.apache.org/xmlns/sca/1.0%7DwsClientAuthenticationIntegrityPolicy>
>> >         at
>> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.analyseProblems(DefaultSCADomain.java:309)
>> >         at
>> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:334)
>> >         at
>> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:183)
>> >         at
>> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:120)
>> >         at
>> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:242)
>> >         ... 20 more
>> > Results :
>> > Tests in error:
>> >
>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldNoWSDLTestCase)
>> >
>> testEchoFoo(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldNoWSDLTestCase)
>> >
>> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldTestCase)
>> >
>> testUriPrecedence(org.apache.tuscany.sca.binding.ws.axis2.itests.UriPrecedenceTestCase)
>> >
>> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.epr.HelloWorldTestCase)
>> >
>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
>> >
>> testHelloWorldSOAP(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
>> >
>> testHelloWorldSOAP11(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
>> >
>> testHelloWorldSOAP12(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
>> >
>> testWSDLImportPortEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLImportTestCase)
>> >
>> testWSDLPortEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLTestCase)
>> >
>> testCustomEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLTestCase)
>> >
>> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.WSDLRelativeURITestCase)
>> >
>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.mixed.WSSecurityMixedTestCase)
>> >
>> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.WSDLExplicitURITestCase)
>> >
>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldWSDLMergedTestCase)
>> >
>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldOMTestCase)
>> >
>> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.DefaultMultiServiceTestCase)
>> >
>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.configparams.WSSecurityIntegrityTestCase)
>> >
>> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.DefaultSingleServiceTestCase)
>> >
>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.wspolicy.WSSecurityIntegrityTestCase)
>> >
>> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.wspolicy.WSSecurityAuthenticationTestCase)
>> >
>> testWSDLIncludePortEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLIncludeTestCase)
>> >
>> testSOAPDefault(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)
>> >
>> testSOAP11Endpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)
>> >
>> testSOAP12Endpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)
>> > Tests run: 30, Failures: 0, Errors: 26, Skipped: 0
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [ERROR] BUILD FAILURE
>> > [INFO]
>> ------------------------------------------------------------------------
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
>
What were the errors when you reverted. I'm running without Sebastien's
change at the moment but I just did a HEAD build and go several errors that
I don't think are related to this, i.e. they are not in binding.ws.axis2

Simon

Re: [jira] Commented: (TUSCANY-2499) Build error trying to resolve policy intent in binding-ws-axis2

Posted by Scott Kurz <sc...@gmail.com>.
I'm stuck on this build break (in HEAD).  Skimmed through the discussions,
seemed like one suggestion was to revert
Sebastien's fix in r679944... but that just let me with a different set of
errors.

Anyone know how to get past it?

Thanks,
Scott


On Fri, Jul 25, 2008 at 9:35 PM, Jean-Sebastien Delfino (JIRA) <
dev@tuscany.apache.org> wrote:

>
>    [
> https://issues.apache.org/jira/browse/TUSCANY-2499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617113#action_12617113]
>
> Jean-Sebastien Delfino commented on TUSCANY-2499:
> -------------------------------------------------
>
> I have committed a work around in SVN r679944. The underlying issue
> (problems resolving provided policy intents) still needs to be fixed.
>
> > Build error trying to resolve policy intent in binding-ws-axis2
> > ---------------------------------------------------------------
> >
> >                 Key: TUSCANY-2499
> >                 URL: https://issues.apache.org/jira/browse/TUSCANY-2499
> >             Project: Tuscany
> >          Issue Type: Bug
> >          Components: Java SCA Axis Binding Extension
> >         Environment: Linux RHEL5
> >            Reporter: Jean-Sebastien Delfino
> >            Priority: Critical
> >             Fix For: Java-SCA-Next
> >
> >
> > Building SVN r679890 gives the following error:
> >
> testSOAP12Endpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)
>  Time elapsed: 1.229 sec  <<< ERROR!
> > org.osoa.sca.ServiceRuntimeException:
> org.osoa.sca.ServiceRuntimeException: Provided Intent - {
> http://tuscany.apache.org/xmlns/sca/1.0}wsAuthentication<http://tuscany.apache.org/xmlns/sca/1.0%7DwsAuthentication>not found for PolicySet {
> http://tuscany.apache.org/xmlns/sca/1.0}wsClientAuthenticationIntegrityPolicy<http://tuscany.apache.org/xmlns/sca/1.0%7DwsClientAuthenticationIntegrityPolicy>
> >         at
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:276)
> >         at
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:70)
> >         at
> org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase.setUp(QuestionMarkWSDLTestCase.java:130)
> >         at junit.framework.TestCase.runBare(TestCase.java:132)
> >         at junit.framework.TestResult$1.protect(TestResult.java:110)
> >         at junit.framework.TestResult.runProtected(TestResult.java:128)
> >         at junit.framework.TestResult.run(TestResult.java:113)
> >         at junit.framework.TestCase.run(TestCase.java:124)
> >         at junit.framework.TestSuite.runTest(TestSuite.java:232)
> >         at junit.framework.TestSuite.run(TestSuite.java:227)
> >         at
> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
> >         at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> >         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> >         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> >         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:597)
> >         at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
> >         at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
> > Caused by: org.osoa.sca.ServiceRuntimeException: Provided Intent - {
> http://tuscany.apache.org/xmlns/sca/1.0}wsAuthentication<http://tuscany.apache.org/xmlns/sca/1.0%7DwsAuthentication>not found for PolicySet {
> http://tuscany.apache.org/xmlns/sca/1.0}wsClientAuthenticationIntegrityPolicy<http://tuscany.apache.org/xmlns/sca/1.0%7DwsClientAuthenticationIntegrityPolicy>
> >         at
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.analyseProblems(DefaultSCADomain.java:309)
> >         at
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:334)
> >         at
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:183)
> >         at
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:120)
> >         at
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:242)
> >         ... 20 more
> > Results :
> > Tests in error:
> >
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldNoWSDLTestCase)
> >
> testEchoFoo(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldNoWSDLTestCase)
> >
> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldTestCase)
> >
> testUriPrecedence(org.apache.tuscany.sca.binding.ws.axis2.itests.UriPrecedenceTestCase)
> >
> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.epr.HelloWorldTestCase)
> >
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
> >
> testHelloWorldSOAP(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
> >
> testHelloWorldSOAP11(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
> >
> testHelloWorldSOAP12(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.HelloWorldSOAP12TestCase)
> >
> testWSDLImportPortEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLImportTestCase)
> >
> testWSDLPortEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLTestCase)
> >
> testCustomEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLTestCase)
> >
> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.WSDLRelativeURITestCase)
> >
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.mixed.WSSecurityMixedTestCase)
> >
> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.WSDLExplicitURITestCase)
> >
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldWSDLMergedTestCase)
> >
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldOMTestCase)
> >
> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.DefaultMultiServiceTestCase)
> >
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.configparams.WSSecurityIntegrityTestCase)
> >
> testCalculator(org.apache.tuscany.sca.binding.ws.axis2.itests.endpoints.DefaultSingleServiceTestCase)
> >
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.wspolicy.WSSecurityIntegrityTestCase)
> >
> testHelloWorld(org.apache.tuscany.sca.binding.ws.axis2.itests.policy.wspolicy.WSSecurityAuthenticationTestCase)
> >
> testWSDLIncludePortEndpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.QuestionMarkWSDLIncludeTestCase)
> >
> testSOAPDefault(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)
> >
> testSOAP11Endpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)
> >
> testSOAP12Endpoint(org.apache.tuscany.sca.binding.ws.axis2.itests.soap12.QuestionMarkWSDLTestCase)
> > Tests run: 30, Failures: 0, Errors: 26, Skipped: 0
> > [INFO]
> ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> ------------------------------------------------------------------------
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>