Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3569

PolicyConfigurationException: The are unfulfilled intents for binding in reference

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Java-SCA-1.6
    • Java-SCA-1.x
    • Java SCA Policy
    • None
    • Windows

    Description

      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

      Attachments

        1. policy-security-token.zip
          36 kB
          Raman Grover

        Activity

          People

            scnash Simon Nash
            raman Raman Grover
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: