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

BPEL iTest fails with ContributionResolveException trying to resolve BPEL file

    XMLWordPrintableJSON

Details

    Description

      This iTest failure might be related to TUSCANY-3133, but needs further investigation.

      2009-07-08 10:21:47.721::INFO: Extract jar:file:/home/lresende/opensource/apache/tuscany/java-sca-2.0-M3-sync/samples/webapps/helloworld-bpel/target/helloworld-bpel.war!/ to /tmp/Jetty_0_0_0_0_8085_helloworld-bpel.war_helloworld-bpel_-1g06s/webapp
      Jul 8, 2009 10:21:48 AM org.apache.tuscany.sca.node.impl.NodeImpl start
      INFO: Starting node: webapp
      Jul 8, 2009 10:21:49 AM org.apache.tuscany.sca.node.impl.NodeFactoryImpl configureNode
      INFO: Loading contribution: file:/tmp/Jetty_0_0_0_0_8085_helloworld-bpel.war__helloworld-bpel__-1g06s/webapp/
      Jul 8, 2009 10:21:49 AM org.apache.tuscany.sca.contribution.processor.ValidatingXMLStreamReader
      SEVERE: XMLSchema validation error occured in: WEB-INF/web.composite ,line = 27, column = 9, Message = cvc-complex-type.2.4.a: Invalid content was found starting with element 'implementation.web'. One of '

      {"http://docs.oasis-open.org/ns/opencsa/sca/200903":documentation, "http://docs.oasis-open.org/ns/opencsa/sca/200903":implementation, "http://docs.oasis-open.org/ns/opencsa/sca/200903":service, "http://docs.oasis-open.org/ns/opencsa/sca/200903":reference, "http://docs.oasis-open.org/ns/opencsa/sca/200903":property, WC[##other:"http://docs.oasis-open.org/ns/opencsa/sca/200903"]}

      ' is expected.
      2009-07-08 10:21:49.875::WARN: failed tuscany.helloworld-bpel
      java.lang.IllegalStateException: org.apache.tuscany.sca.contribution.processor.ContributionResolveException: org.apache.tuscany.sca.contribution.processor.ContributionResolveException: Processing composite

      {http://sample}

      helloworld-bpel: null
      at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:94)
      at org.apache.tuscany.sca.host.webapp.ServletHostHelper.createNode(ServletHostHelper.java:172)
      at org.apache.tuscany.sca.host.webapp.ServletHostHelper.init(ServletHostHelper.java:124)
      at org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.init(TuscanyServletFilter.java:50)
      at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:570)
      at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1191)
      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:481)
      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:434)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
      at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
      at org.mortbay.jetty.Server.doStart(Server.java:210)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      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:585)
      at org.codehaus.cargo.container.jetty.internal.JettyExecutorThread.run(JettyExecutorThread.java:68)
      Caused by: org.apache.tuscany.sca.contribution.processor.ContributionResolveException: org.apache.tuscany.sca.contribution.processor.ContributionResolveException: Processing composite

      {http://sample}

      helloworld-bpel: null
      at org.apache.tuscany.sca.contribution.processor.impl.ContributionContentProcessor.resolve(ContributionContentProcessor.java:217)
      at org.apache.tuscany.sca.contribution.processor.impl.ContributionContentProcessor.resolve(ContributionContentProcessor.java:1)
      at org.apache.tuscany.sca.contribution.processor.DefaultURLArtifactProcessorExtensionPoint$LazyURLArtifactProcessor.resolve(DefaultURLArtifactProcessorExtensionPoint.java:357)
      at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.configureNode(NodeFactoryImpl.java:598)
      at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:80)
      ... 24 more
      Caused by: org.apache.tuscany.sca.contribution.processor.ContributionResolveException: Processing composite

      {http://sample}

      helloworld-bpel: null
      at org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.resolve(CompositeDocumentProcessor.java:171)
      at org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.resolve(CompositeDocumentProcessor.java:1)
      at org.apache.tuscany.sca.contribution.processor.DefaultURLArtifactProcessorExtensionPoint$LazyURLArtifactProcessor.resolve(DefaultURLArtifactProcessorExtensionPoint.java:357)
      at org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtifactProcessor.resolve(ExtensibleURLArtifactProcessor.java:121)
      at org.apache.tuscany.sca.contribution.processor.impl.ContributionContentProcessor.resolve(ContributionContentProcessor.java:215)
      ... 28 more
      Caused by: java.lang.NullPointerException
      at org.apache.tuscany.sca.implementation.bpel.xml.BPELPartnerLinkElement.getRolePortType(BPELPartnerLinkElement.java:83)
      at org.apache.tuscany.sca.implementation.bpel.xml.BPELPartnerLinkElement.getMyRolePortType(BPELPartnerLinkElement.java:72)
      at org.apache.tuscany.sca.implementation.bpel.xml.BPELImplementationProcessor.generateComponentType(BPELImplementationProcessor.java:201)
      at org.apache.tuscany.sca.implementation.bpel.xml.BPELImplementationProcessor.resolve(BPELImplementationProcessor.java:135)
      at org.apache.tuscany.sca.implementation.bpel.xml.BPELImplementationProcessor.resolve(BPELImplementationProcessor.java:1)
      at org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint$LazyStAXArtifactProcessor.resolve(DefaultStAXArtifactProcessorExtensionPoint.java:416)
      at org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor.resolve(ExtensibleStAXArtifactProcessor.java:196)
      at org.apache.tuscany.sca.assembly.xml.BaseAssemblyProcessor.resolveImplementation(BaseAssemblyProcessor.java:353)
      at org.apache.tuscany.sca.assembly.xml.CompositeProcessor.resolve(CompositeProcessor.java:991)
      at org.apache.tuscany.sca.assembly.xml.CompositeProcessor.resolve(CompositeProcessor.java:1)
      at org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint$LazyStAXArtifactProcessor.resolve(DefaultStAXArtifactProcessorExtensionPoint.java:416)
      at org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor.resolve(ExtensibleStAXArtifactProcessor.java:196)
      at org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.resolve(CompositeDocumentProcessor.java:167)
      ... 32 more
      2009-07-08 10:21:49.879::WARN: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@630657

      {/helloworld-bpel,jar:file:/home/lresende/opensource/apache/tuscany/java-sca-2.0-M3-sync/samples/webapps/helloworld-bpel/target/helloworld-bpel.war!/}

      java.lang.IllegalStateException: org.apache.tuscany.sca.contribution.processor.ContributionResolveException: org.apache.tuscany.sca.contribution.processor.ContributionResolveException: Processing composite

      {http://sample}

      helloworld-bpel: null
      at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:94)
      at org.apache.tuscany.sca.host.webapp.ServletHostHelper.createNode(ServletHostHelper.java:172)
      at org.apache.tuscany.sca.host.webapp.ServletHostHelper.init(ServletHostHelper.java:124)
      at org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.init(TuscanyServletFilter.java:50)
      at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:570)
      at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1191)
      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:481)
      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:434)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
      at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
      at org.mortbay.jetty.Server.doStart(Server.java:210)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      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:585)
      at org.codehaus.cargo.container.jetty.internal.JettyExecutorThread.run(JettyExecutorThread.java:68)
      Caused by: org.apache.tuscany.sca.contribution.processor.ContributionResolveException: org.apache.tuscany.sca.contribution.processor.ContributionResolveException: Processing composite

      {http://sample}

      helloworld-bpel: null
      at org.apache.tuscany.sca.contribution.processor.impl.ContributionContentProcessor.resolve(ContributionContentProcessor.java:217)
      at org.apache.tuscany.sca.contribution.processor.impl.ContributionContentProcessor.resolve(ContributionContentProcessor.java:1)
      at org.apache.tuscany.sca.contribution.processor.DefaultURLArtifactProcessorExtensionPoint$LazyURLArtifactProcessor.resolve(DefaultURLArtifactProcessorExtensionPoint.java:357)
      at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.configureNode(NodeFactoryImpl.java:598)
      at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:80)
      ... 24 more
      Caused by: org.apache.tuscany.sca.contribution.processor.ContributionResolveException: Processing composite

      {http://sample}

      helloworld-bpel: null
      at org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.resolve(CompositeDocumentProcessor.java:171)
      at org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.resolve(CompositeDocumentProcessor.java:1)
      at org.apache.tuscany.sca.contribution.processor.DefaultURLArtifactProcessorExtensionPoint$LazyURLArtifactProcessor.resolve(DefaultURLArtifactProcessorExtensionPoint.java:357)
      at org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtifactProcessor.resolve(ExtensibleURLArtifactProcessor.java:121)
      at org.apache.tuscany.sca.contribution.processor.impl.ContributionContentProcessor.resolve(ContributionContentProcessor.java:215)
      ... 28 more
      Caused by: java.lang.NullPointerException
      at org.apache.tuscany.sca.implementation.bpel.xml.BPELPartnerLinkElement.getRolePortType(BPELPartnerLinkElement.java:83)
      at org.apache.tuscany.sca.implementation.bpel.xml.BPELPartnerLinkElement.getMyRolePortType(BPELPartnerLinkElement.java:72)
      at org.apache.tuscany.sca.implementation.bpel.xml.BPELImplementationProcessor.generateComponentType(BPELImplementationProcessor.java:201)
      at org.apache.tuscany.sca.implementation.bpel.xml.BPELImplementationProcessor.resolve(BPELImplementationProcessor.java:135)
      at org.apache.tuscany.sca.implementation.bpel.xml.BPELImplementationProcessor.resolve(BPELImplementationProcessor.java:1)
      at org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint$LazyStAXArtifactProcessor.resolve(DefaultStAXArtifactProcessorExtensionPoint.java:416)
      at org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor.resolve(ExtensibleStAXArtifactProcessor.java:196)
      at org.apache.tuscany.sca.assembly.xml.BaseAssemblyProcessor.resolveImplementation(BaseAssemblyProcessor.java:353)
      at org.apache.tuscany.sca.assembly.xml.CompositeProcessor.resolve(CompositeProcessor.java:991)
      at org.apache.tuscany.sca.assembly.xml.CompositeProcessor.resolve(CompositeProcessor.java:1)
      at org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint$LazyStAXArtifactProcessor.resolve(DefaultStAXArtifactProcessorExtensionPoint.java:416)
      at org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor.resolve(ExtensibleStAXArtifactProcessor.java:196)
      at org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.resolve(CompositeDocumentProcessor.java:167)
      ... 32 more
      2009-07-08 10:21:49.882::INFO: Extract jar:file:/home/lresende/opensource/apache/tuscany/java-sca-2.0-M3-sync/itest/distribution/webapp-helloworld-bpel/target/cargo-jetty/cargocpc.war!/ to /tmp/Jetty_0_0_0_0_8085_cargocpc.war_cargocpc_3q8jfo/webapp
      2009-07-08 10:21:50.747::INFO: Started SelectChannelConnector @ 0.0.0.0:8085
      [INFO] [beddedLocalContainer] Jetty 6.x Embedded started on port [8085]
      [INFO] [resources:testResources]
      [INFO] Using default encoding to copy filtered resources.
      [INFO] [compiler:testCompile]
      [INFO] Invoking Tuscany Eclipse JDT compiler
      [INFO] Compiling 1 to /home/lresende/opensource/apache/tuscany/java-sca-2.0-M3-sync/itest/distribution/webapp-helloworld-bpel/target/test-classes
      [INFO] [surefire:test]
      [INFO] Surefire report directory: /home/lresende/opensource/apache/tuscany/java-sca-2.0-M3-sync/itest/distribution/webapp-helloworld-bpel/target/surefire-reports

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running itest.HelloworldTestCase

      • statusCode=[503] contentType=[text/html]
      • <html>
        <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
        <title>Error 503 SERVICE_UNAVAILABLE</title>
        </head>
        <body>
        <h2>HTTP ERROR: 503</h2><pre>SERVICE_UNAVAILABLE</pre>
        <p>RequestURI=/helloworld-bpel</p>
        <p><i><small><a href="http://jetty.mortbay.org">Powered by jetty://</a></small></i></p>

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: