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

Test failures in binding-jsonrpc-runtime

    XMLWordPrintableJSON

Details

    Description

      Three unit tests are failing in binding-jsonrpc-runtime. See the build log below.

      [INFO] ------------------------------------------------------------------------
      [INFO] Building Apache Tuscany SCA JSON-RPC Binding Runtime
      [INFO] task-segment: [install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [resources:resources]
      [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. b
      uild is platform dependent!
      [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
      i.e. build is platform dependent!
      [INFO] Copying 2 resources
      [INFO] Copying 2 resources to META-INF
      [INFO] [compiler:compile]
      [INFO] Nothing to compile - all classes are up to date
      [INFO] [bundle:manifest

      {execution: bundle-manifest}

      ]
      [INFO] [resources:testResources]
      [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
      i.e. build is platform dependent!
      [INFO] Copying 2 resources
      [INFO] [compiler:testCompile]
      [INFO] Compiling 5 source files to E:\td\sca1x\trunk\modules\binding-jsonrpc-run
      time\target\test-classes
      [INFO] [surefire:test]
      [INFO] Surefire report directory: E:\td\sca1x\trunk\modules\binding-jsonrpc-runt
      ime\target\surefire-reports

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running org.apache.tuscany.sca.binding.jsonrpc.BindingTestCase
      24-Oct-2010 21:34:25 org.apache.tuscany.sca.node.impl.NodeImpl <init>
      INFO: Creating node: helloworld.composite
      24-Oct-2010 21:34:26 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      INFO: Loading contribution: file:/E:/td/sca1x/trunk/modules/binding-jsonrpc-runt
      ime/target/test-classes/
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.node.impl.NodeImpl start
      INFO: Starting node: helloworld.composite
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/HelloWorldComponent/HelloWorl
      dService/*
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/HelloWorldComponent/HelloWorl
      dService
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/scaDomain.js
      Request =

      {"id":1,"method":"sayHello","params":["\"petra\""]}

      Response=

      {"id":1,"result":"Hello \"petra\""}

      Request =

      {"id":1,"method":"sayHello2","params":["\"petra\"","\"arnold\""]}

      Response=

      {"id":1,"result":"Hello \"petra\" \"arnold\""}

      Request = {"id":1,"method":"sayHello3","params":[

      {"s":"fred","b":true,"y":5,"x": 2}

      ]}
      24-Oct-2010 21:34:27 com.metaparadigm.jsonrpc.BeanSerializer analyzeBean
      INFO: analyzing helloworld.BeanA
      Response= {"id":1,"result":{"b":true,"s":"XYZ","javaClass":"helloworld.BeanA","y
      ":5,"x":2}}
      Request =

      {"id":1,"method":"sayHello4","params":[["Fred","Bloggs"]]}

      Response=

      {"id":1,"result":["Hello Fred Bloggs"]}

      24-Oct-2010 21:34:27 org.apache.tuscany.sca.node.impl.NodeImpl stop
      INFO: Stopping node: helloworld.composite
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /HelloWorldComponent/HelloWorldService/*
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /HelloWorldComponent/HelloWorldService
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/scaDomain.js
      Tests run: 8, Failures: 3, Errors: 0, Skipped: 4, Time elapsed: 1.751 sec <<< FA
      ILURE!
      testOneArg(org.apache.tuscany.sca.binding.jsonrpc.BindingTestCase) Time elapsed
      : 0.285 sec <<< FAILURE!
      junit.framework.ComparisonFailure: null expected:<

      {"id":1,"result":"[\"Hello ]pe tra\""}

      > but was:<

      {"id":1,"result":"[Hello \"]petra\""}

      >
      at junit.framework.Assert.assertEquals(Assert.java:81)
      at junit.framework.Assert.assertEquals(Assert.java:87)
      at org.apache.tuscany.sca.binding.jsonrpc.BindingTestCase.testOneArg(Bin
      dingTestCase.java:74)
      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:597)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framework
      Method.java:44)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal
      lable.java:15)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMe
      thod.java:41)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMet
      hod.java:20)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.
      java:28)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.ja
      va:31)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
      ner.java:73)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
      ner.java:46)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
      at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.
      java:28)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.ja
      va:31)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
      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:597)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
      refireBooter.java:308)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
      ava:879)

      testTwoArgs(org.apache.tuscany.sca.binding.jsonrpc.BindingTestCase) Time elapse
      d: 0.006 sec <<< FAILURE!
      junit.framework.ComparisonFailure: null expected:<

      {"id":1,"result":"[\"Hello pet ra ]arnold\""}

      > but was:<

      {"id":1,"result":"[Hello \"petra\" \"]arnold\""}

      >
      at junit.framework.Assert.assertEquals(Assert.java:81)
      at junit.framework.Assert.assertEquals(Assert.java:87)
      at org.apache.tuscany.sca.binding.jsonrpc.BindingTestCase.testTwoArgs(Bi
      ndingTestCase.java:89)
      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:597)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framework
      Method.java:44)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal
      lable.java:15)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMe
      thod.java:41)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMet
      hod.java:20)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.
      java:28)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.ja
      va:31)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
      ner.java:73)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
      ner.java:46)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
      at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.
      java:28)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.ja
      va:31)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
      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:597)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
      refireBooter.java:308)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
      ava:879)

      testComplexParams(org.apache.tuscany.sca.binding.jsonrpc.BindingTestCase) Time
      elapsed: 0.012 sec <<< FAILURE!
      junit.framework.ComparisonFailure: null expected:<..."s":"XYZ","b":true,"[]y":5,
      "x":2}}> but was:<..."s":"XYZ","b":true,"[javaClass":"helloworld.BeanA","]y":5,"
      x":2}}>
      at junit.framework.Assert.assertEquals(Assert.java:81)
      at junit.framework.Assert.assertEquals(Assert.java:87)
      at org.apache.tuscany.sca.binding.jsonrpc.BindingTestCase.testComplexPar
      ams(BindingTestCase.java:105)
      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:597)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framework
      Method.java:44)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal
      lable.java:15)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMe
      thod.java:41)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMet
      hod.java:20)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.
      java:28)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.ja
      va:31)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
      ner.java:73)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
      ner.java:46)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
      at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.
      java:28)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.ja
      va:31)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
      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:597)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
      refireBooter.java:308)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
      ava:879)

      Running org.apache.tuscany.sca.binding.jsonrpc.JSONRPCServiceTestCase
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.node.impl.NodeImpl <init>
      INFO: Creating node: JSONRPCBinding.composite
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      INFO: Loading contribution: file:/E:/td/sca1x/trunk/modules/binding-jsonrpc-runt
      ime/target/test-classes/
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.node.impl.NodeImpl start
      INFO: Starting node: JSONRPCBinding.composite
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService/*
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/scaDomain.js
      Echo: Hello JSON-RPC
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.node.impl.NodeImpl stop
      INFO: Stopping node: JSONRPCBinding.composite
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService/*
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/scaDomain.js
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.node.impl.NodeImpl <init>
      INFO: Creating node: JSONRPCBinding.composite
      24-Oct-2010 21:34:27 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      INFO: Loading contribution: file:/E:/td/sca1x/trunk/modules/binding-jsonrpc-runt
      ime/target/test-classes/
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl start
      INFO: Starting node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService/*
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/scaDomain.js
      Echo: Hello JSON-RPC
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl stop
      INFO: Stopping node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService/*
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/scaDomain.js
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.441 sec
      Running org.apache.tuscany.sca.binding.jsonrpc.JSONRPCExceptionTestCase
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl <init>
      INFO: Creating node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      INFO: Loading contribution: file:/E:/td/sca1x/trunk/modules/binding-jsonrpc-runt
      ime/target/test-classes/
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl start
      INFO: Starting node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService/*
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/scaDomain.js
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl stop
      INFO: Stopping node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService/*
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/scaDomain.js
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl <init>
      INFO: Creating node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      INFO: Loading contribution: file:/E:/td/sca1x/trunk/modules/binding-jsonrpc-runt
      ime/target/test-classes/
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl start
      INFO: Starting node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService/*
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/scaDomain.js
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl stop
      INFO: Stopping node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService/*
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/scaDomain.js
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.398 sec
      Running org.apache.tuscany.sca.binding.jsonrpc.JSONRPCDataTypeTestCase
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl <init>
      INFO: Creating node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      INFO: Loading contribution: file:/E:/td/sca1x/trunk/modules/binding-jsonrpc-runt
      ime/target/test-classes/
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl start
      INFO: Starting node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService/*
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/scaDomain.js
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl stop
      INFO: Stopping node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService/*
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/scaDomain.js
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl <init>
      INFO: Creating node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      INFO: Loading contribution: file:/E:/td/sca1x/trunk/modules/binding-jsonrpc-runt
      ime/target/test-classes/
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl start
      INFO: Starting node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService/*
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/scaDomain.js
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl stop
      INFO: Stopping node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService/*
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/scaDomain.js
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl <init>
      INFO: Creating node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      INFO: Loading contribution: file:/E:/td/sca1x/trunk/modules/binding-jsonrpc-runt
      ime/target/test-classes/
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.node.impl.NodeImpl start
      INFO: Starting node: JSONRPCBinding.composite
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService/*
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService
      24-Oct-2010 21:34:28 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/scaDomain.js
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl stop
      INFO: Stopping node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService/*
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/scaDomain.js
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl <init>
      INFO: Creating node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      INFO: Loading contribution: file:/E:/td/sca1x/trunk/modules/binding-jsonrpc-runt
      ime/target/test-classes/
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl start
      INFO: Starting node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService/*
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/scaDomain.js
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl stop
      INFO: Stopping node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService/*
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/scaDomain.js
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl <init>
      INFO: Creating node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      INFO: Loading contribution: file:/E:/td/sca1x/trunk/modules/binding-jsonrpc-runt
      ime/target/test-classes/
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl start
      INFO: Starting node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService/*
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/scaDomain.js
      24-Oct-2010 21:34:29 com.metaparadigm.jsonrpc.BeanSerializer analyzeBean
      INFO: analyzing bean.TestBean
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl stop
      INFO: Stopping node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService/*
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/scaDomain.js
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl <init>
      INFO: Creating node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      INFO: Loading contribution: file:/E:/td/sca1x/trunk/modules/binding-jsonrpc-runt
      ime/target/test-classes/
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl start
      INFO: Starting node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService/*
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/scaDomain.js
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl stop
      INFO: Stopping node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService/*
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/scaDomain.js
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl <init>
      INFO: Creating node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      INFO: Loading contribution: file:/E:/td/sca1x/trunk/modules/binding-jsonrpc-runt
      ime/target/test-classes/
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl start
      INFO: Starting node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService/*
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/scaDomain.js
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl stop
      INFO: Stopping node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService/*
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/scaDomain.js
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl <init>
      INFO: Creating node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      INFO: Loading contribution: file:/E:/td/sca1x/trunk/modules/binding-jsonrpc-runt
      ime/target/test-classes/
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl start
      INFO: Starting node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService/*
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/scaDomain.js
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl stop
      INFO: Stopping node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService/*
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/scaDomain.js
      Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.414 sec
      Running org.apache.tuscany.sca.binding.jsonrpc.JSONRPCSmdTestCase
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl <init>
      INFO: Creating node: JSONRPCBinding.composite
      24-Oct-2010 21:34:29 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      INFO: Loading contribution: file:/E:/td/sca1x/trunk/modules/binding-jsonrpc-runt
      ime/target/test-classes/
      24-Oct-2010 21:34:30 org.apache.tuscany.sca.node.impl.NodeImpl start
      INFO: Starting node: JSONRPCBinding.composite
      24-Oct-2010 21:34:30 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService/*
      24-Oct-2010 21:34:30 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/EchoService
      24-Oct-2010 21:34:30 org.apache.tuscany.sca.http.jetty.JettyServer addServletMap
      ping
      INFO: Added Servlet mapping: http://GrosMorne:8085/SCADomain/scaDomain.js
      24-Oct-2010 21:34:30 org.apache.tuscany.sca.node.impl.NodeImpl stop
      INFO: Stopping node: JSONRPCBinding.composite
      24-Oct-2010 21:34:30 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService/*
      24-Oct-2010 21:34:30 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/EchoService
      24-Oct-2010 21:34:30 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
      Mapping
      INFO: Removed Servlet mapping: /SCADomain/scaDomain.js
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.142 sec

      Results :

      Failed tests:
      testOneArg(org.apache.tuscany.sca.binding.jsonrpc.BindingTestCase)
      testTwoArgs(org.apache.tuscany.sca.binding.jsonrpc.BindingTestCase)
      testComplexParams(org.apache.tuscany.sca.binding.jsonrpc.BindingTestCase)

      Tests run: 21, Failures: 3, Errors: 0, Skipped: 4

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: