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

Binding JMS is missing Schema definition for specific Tuscany extensions

    XMLWordPrintableJSON

Details

    Description

      java.lang.IllegalStateException: org.oasisopen.sca.ServiceRuntimeException: [Contribution: file:/Users/lresende/opensource/apache/tuscany/java-sca-2.x/itest/jms/format-jmstextxmlinjmsobjectout/target/classes/, Artifact: jmstextxmlinjmsobjectout/helloworld.composite] - XMLSchema validation error occured in: jmstextxmlinjmsobjectout/helloworld.composite ,line = 32, column = 21, Message = cvc-complex-type.2.4.a: Invalid content was found starting with element 'tuscany:wireFormat.jmsObject'. One of '

      {"http://docs.oasis-open.org/ns/opencsa/sca/200912":wireFormat, "http://docs.oasis-open.org/ns/opencsa/sca/200912":destination, "http://docs.oasis-open.org/ns/opencsa/sca/200912":connectionFactory, "http://docs.oasis-open.org/ns/opencsa/sca/200912":activationSpec}

      ' is expected.
      at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:176)
      at org.apache.tuscany.sca.binding.jms.format.FormatJMSTextXMLInJMSObjectOutTestCase.init(FormatJMSTextXMLInJMSObjectOutTestCase.java:41)
      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.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      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.oasisopen.sca.ServiceRuntimeException: [Contribution: file:/Users/lresende/opensource/apache/tuscany/java-sca-2.x/itest/jms/format-jmstextxmlinjmsobjectout/target/classes/, Artifact: jmstextxmlinjmsobjectout/helloworld.composite] - XMLSchema validation error occured in: jmstextxmlinjmsobjectout/helloworld.composite ,line = 32, column = 21, Message = cvc-complex-type.2.4.a: Invalid content was found starting with element 'tuscany:wireFormat.jmsObject'. One of '

      {"http://docs.oasis-open.org/ns/opencsa/sca/200912":wireFormat, "http://docs.oasis-open.org/ns/opencsa/sca/200912":destination, "http://docs.oasis-open.org/ns/opencsa/sca/200912":connectionFactory, "http://docs.oasis-open.org/ns/opencsa/sca/200912":activationSpec}

      ' is expected.
      at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.analyzeProblems(NodeFactoryImpl.java:184)
      at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.loadContributions(NodeFactoryImpl.java:397)
      at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:132)
      ... 24 more

      Attachments

        Issue Links

          Activity

            People

              lresende Luciano Resende
              lresende Luciano Resende
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: