I'm getting the following failure when building the tutorial.  It
seems to happen every time I do a full top-level build from a new
checkout.  Any ideas for solving it or debugging it further?
Which service is returning the HTTP 500 response?

  Simon

Running test.StoreSupplierTestCase
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/ui/home/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/ui/workspace/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/ui/files/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/ui/composite/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/ui/cloud/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/workspace/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/contribution/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/feed/files/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/files/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/composite/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/composite-source/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/deployable/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/composite-generated/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/composite-resolved/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/cloud/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/cloud-source/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/composite-config/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/node-config/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/quickstart/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/processes/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/node/processes/*
28-May-2008 11:39:00 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:9990/ping/*
28-May-2008 11:39:00 org.apache.tuscany.sca.node.impl.NodeImpl <init>
INFO: Creating node: http://localhost:9990/node-config/StoreSupplierNode
28-May-2008 11:39:02 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
INFO: Loading contribution: file:/F:/tuscany71/sca/tutorial/store-test/../assets
/target/tutorial-assets.jar
28-May-2008 11:39:02 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
INFO: Loading contribution: file:/F:/tuscany71/sca/tutorial/store-test/../store-
supplier/target/tutorial-store-supplier.jar
28-May-2008 11:39:02 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
INFO: Loading composite: http://localhost:9990/composite-resolved/composite:stor
e-supplier;http://store;store-supplier
28-May-2008 11:39:05 org.apache.tuscany.sca.node.impl.NodeImpl start
INFO: Starting node: http://localhost:9990/node-config/StoreSupplierNode
28-May-2008 11:39:06 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:8103/ui/*
28-May-2008 11:39:06 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:8103/StoreSupplierCatalog/*
28-May-2008 11:39:06 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:8103/StoreSupplierCatalog
28-May-2008 11:39:06 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:8103/SCADomain/scaDomain.js
28-May-2008 11:39:06 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:8333/CatalogWebService
28-May-2008 11:39:06 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:8103/ShoppingCart/Cart/*
28-May-2008 11:39:06 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:8103/StoreSupplierShoppingCart/Tota
l/*
28-May-2008 11:39:06 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:8103/StoreSupplierShoppingCart/Tota
l
28-May-2008 11:39:06 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:8333/ShoppinCartTotalWebService
28-May-2008 11:39:06 org.apache.tuscany.sca.node.impl.NodeImpl <init>
INFO: Creating node: http://localhost:9990/node-config/CatalogsNode
28-May-2008 11:39:07 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
INFO: Loading contribution: file:/F:/tuscany71/sca/tutorial/store-test/../assets
/target/tutorial-assets.jar
28-May-2008 11:39:07 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
INFO: Loading contribution: file:/F:/tuscany71/sca/tutorial/store-test/../web-se
rvices/target/tutorial-web-services.jar
28-May-2008 11:39:07 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
INFO: Loading composite: http://localhost:9990/composite-resolved/composite:web-
services;http://services;catalogs
28-May-2008 11:39:09 org.apache.tuscany.sca.node.impl.NodeImpl start
INFO: Starting node: http://localhost:9990/node-config/CatalogsNode
28-May-2008 11:39:09 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:8200/FruitsCatalogWebService
28-May-2008 11:39:09 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
ping
INFO: Added Servlet mapping: http://SouthRim:8200/VegetablesCatalogWebService
28-May-2008 11:39:09 org.apache.tuscany.sca.node.impl.NodeImpl <init>
INFO: Creating node: http://localhost:9990/node-config/StoreClientNode
28-May-2008 11:39:10 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
INFO: Loading contribution: file:/F:/tuscany71/sca/tutorial/store-test/../store-
client/target/tutorial-store-client.jar
28-May-2008 11:39:10 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
INFO: Loading composite: http://localhost:9990/composite-resolved/composite:stor
e-client;http://store;store-client
28-May-2008 11:39:12 org.apache.tuscany.sca.node.impl.NodeImpl start
INFO: Starting node: http://localhost:9990/node-config/StoreClientNode
Connecting to database: jdbc:derby:directory:F:\tuscany71\sca\tutorial\store-tes
t/../store-supplier/target/cart-db
28-May-2008 11:39:13 org.apache.tuscany.sca.node.impl.NodeImpl stop
INFO: Stopping node: http://localhost:9990/node-config/StoreSupplierNode
28-May-2008 11:39:13 org.apache.tuscany.sca.node.impl.NodeImpl stop
INFO: Stopping node: http://localhost:9990/node-config/CatalogsNode
28-May-2008 11:39:13 org.apache.tuscany.sca.node.impl.NodeImpl stop
INFO: Stopping node: http://localhost:9990/node-config/StoreClientNode
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 15.482 sec <<< F
AILURE!
testShop(test.StoreSupplierTestCase)  Time elapsed: 15.41 sec  <<< ERROR!
org.osoa.sca.ServiceRuntimeException: HTTP status code: 500
        at org.apache.tuscany.sca.binding.atom.provider.AtomBindingInvoker$Delet
eInvoker.invoke(AtomBindingInvoker.java:310)
        at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
nvoke(PassByValueInterceptor.java:108)
        at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:286)
        at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:154)
        at $Proxy26.delete(Unknown Source)
        at client.ShopperImpl.shop(ShopperImpl.java:48)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
ionInvoker.invoke(JavaImplementationInvoker.java:110)
        at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
nvoke(PassByValueInterceptor.java:108)
        at org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCAB
indingInvoker.java:61)
        at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
nvoke(PassByValueInterceptor.java:108)
        at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:286)
        at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:154)
        at $Proxy25.shop(Unknown Source)
        at test.StoreSupplierTestCase.testShop(StoreSupplierTestCase.java:82)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMet
hodRunner.java:99)
        at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethod
Runner.java:81)
        at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
dAfterRunner.java:34)
        at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunne
r.java:75)
        at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java
:45)
        at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(Te
stClassMethodsRunner.java:75)
        at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethod
sRunner.java:36)
        at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClass
Runner.java:42)
        at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
dAfterRunner.java:34)
        at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:5
2)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
java:62)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.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(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)


Results :

Tests in error:
  testShop(test.StoreSupplierTestCase)

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0




Reply via email to