You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Mike Edwards (JIRA)" <de...@tuscany.apache.org> on 2010/06/04 23:08:54 UTC

[jira] Resolved: (TUSCANY-3569) PolicyConfigurationException: The are unfulfilled intents for binding in reference

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

Mike Edwards resolved TUSCANY-3569.
-----------------------------------

    Resolution: Invalid

> PolicyConfigurationException: The are unfulfilled intents for binding in reference
> ----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3569
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3569
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Policy
>         Environment: Windows
>            Reporter: Ramanjaneyulu Malisetti
>             Fix For: Java-SCA-1.6
>
>         Attachments: policy-security-token.zip
>
>
> I am tryng to run  policy-security-token itest with  little modification atcreation of Node. Originally this testcase creates SCA node with composite loading from file and it has definitions.xml. I made modification to create Node with coposite as String and haven't modified anything else. 
> But, while running testcase with my change, it is throwing following exception. I have attached source that I am working with. could you help me out finding out the problem.
> May 24, 2010 6:33:26 PM org.apache.tuscany.sca.node.impl.NodeImpl <init>
> INFO: Creating node: HelloWorldService
> May 24, 2010 6:33:26 PM org.apache.tuscany.sca.node.impl.NodeImpl <init>
> INFO: Loading composite: HelloWorldService
> May 24, 2010 6:33:27 PM org.apache.tuscany.sca.node.impl.NodeImpl configureNode
> INFO: Loading contribution: file:/C:/development/source/tuscany-sca-1.6-src/itest/policy-security-token/
> May 24, 2010 6:33:27 PM org.apache.tuscany.sca.assembly.builder.impl.CompositePolicyBuilderImpl
> SEVERE: Policy Related Exception occured due to : org.apache.tuscany.sca.assembly.builder.impl.PolicyConfigurationException: The are unfulfilled intents for binding in reference - helloworldWS
> Unfulfilled Intents = [{http://www.osoa.org/xmlns/sca/1.0}authentication]
> May 24, 2010 6:33:27 PM org.apache.tuscany.sca.assembly.builder.impl.CompositePolicyBuilderImpl
> SEVERE: Policy Related Exception occured due to : org.apache.tuscany.sca.assembly.builder.impl.PolicyConfigurationException: The are unfulfilled intents for binding in reference - helloworldJMS
> Unfulfilled Intents = [{http://www.osoa.org/xmlns/sca/1.0}authentication]
> May 24, 2010 6:33:27 PM org.apache.tuscany.sca.assembly.builder.impl.CompositePolicyBuilderImpl
> SEVERE: Policy Related Exception occured due to : org.apache.tuscany.sca.assembly.builder.impl.PolicyConfigurationException: The following are unfulfilled intents for binding in service - HelloWorldService
> Unfulfilled Intents = [{http://www.osoa.org/xmlns/sca/1.0}authentication]
> May 24, 2010 6:33:27 PM org.apache.tuscany.sca.assembly.builder.impl.CompositePolicyBuilderImpl
> SEVERE: Policy Related Exception occured due to : org.apache.tuscany.sca.assembly.builder.impl.PolicyConfigurationException: The following are unfulfilled intents for binding in service - HelloWorldService
> Unfulfilled Intents = [{http://www.osoa.org/xmlns/sca/1.0}authentication]
> May 24, 2010 6:33:27 PM org.apache.tuscany.sca.assembly.builder.DefaultEndpointBuilder
> SEVERE: Policy Related Exception occured due to : org.apache.tuscany.sca.assembly.builder.impl.PolicyConfigurationException: The are unfulfilled intents for binding in reference - helloworldWS
> Unfulfilled Intents = [{http://www.osoa.org/xmlns/sca/1.0}authentication]
> org.osoa.sca.ServiceRuntimeException: org.apache.tuscany.sca.monitor.MonitorRuntimeException: org.apache.tuscany.sca.assembly.builder.impl.PolicyConfigurationException: The are unfulfilled intents for binding in reference - helloworldWS
> Unfulfilled Intents = [{http://www.osoa.org/xmlns/sca/1.0}authentication]
>       at org.apache.tuscany.sca.node.impl.NodeImpl.analyzeProblems(NodeImpl.java:711)
>       at org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:634)
>       at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:447)
>       at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANode(NodeFactoryImpl.java:52)
>       at org.apache.tuscany.sca.itest.TokenAuthTestCase.init(TokenAuthTestCase.java:99)
>       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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>       at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>       at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>       at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>       at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>       at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
>       at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
>       at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>       at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>       at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>       at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>       at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> Caused by: org.apache.tuscany.sca.monitor.MonitorRuntimeException: org.apache.tuscany.sca.assembly.builder.impl.PolicyConfigurationException: The are unfulfilled intents for binding in reference - helloworldWS
> Unfulfilled Intents = [{http://www.osoa.org/xmlns/sca/1.0}authentication]
>       ... 21 more
> Caused by: org.apache.tuscany.sca.assembly.builder.impl.PolicyConfigurationException: The are unfulfilled intents for binding in reference - helloworldWS
> Unfulfilled Intents = [{http://www.osoa.org/xmlns/sca/1.0}authentication]
>       at org.apache.tuscany.sca.assembly.builder.impl.PolicyConfigurationUtil.determineApplicableDomainPolicySets(PolicyConfigurationUtil.java:550)
>       at org.apache.tuscany.sca.assembly.builder.impl.PolicyConfigurationUtil.determineApplicableBindingPolicySets(PolicyConfigurationUtil.java:525)
>       at org.apache.tuscany.sca.assembly.builder.impl.BaseWireBuilderImpl.computePolicies(BaseWireBuilderImpl.java:1064)
>       at org.apache.tuscany.sca.assembly.builder.impl.CompositePolicyBuilderImpl.build(CompositePolicyBuilderImpl.java:45)
>       at org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl.build(CompositeBuilderImpl.java:241)
>       at org.apache.tuscany.sca.node.impl.RuntimeBootStrapper.buildComposite(RuntimeBootStrapper.java:255)
>       at org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:632)
>       ... 19 more

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