[ 
https://issues.apache.org/jira/browse/TUSCANY-3747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Nash resolved TUSCANY-3747.
---------------------------------

    Resolution: Fixed

The problem is caused by the undefined order that JSONObject.toString() uses to 
write out the keys and values.  This means that the output of 
JSONObject.toString() is implementation dependent and therefore isn't robust 
for comparison purposes.

After some experimentation I found a way to write these comparisons that works 
on both JDK 5 and JDK 6.  It isn't a perfect solution because it doesn't 
address the underlying issue.  However it does allow these tests to be enabled 
without breaking the JDK 5 or JDK 6 build.

Fixed under revision r1040660.

> Test failures in binding-jsonrpc-runtime
> ----------------------------------------
>
>                 Key: TUSCANY-3747
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3747
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA JSON-RPC Binding Extension
>    Affects Versions: Java-SCA-1.x
>            Reporter: Simon Nash
>            Assignee: Luciano Resende
>            Priority: Critical
>             Fix For: Java-SCA-1.x
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to