diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-07 20:19:23 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-07 20:19:23 +0000 |
commit | 6b7a8a38f609117572820711638508a23ad57850 (patch) | |
tree | cfd15ced8363fa5163cbf874ec01178254169fbf /sca-cpp/trunk/modules/server | |
parent | 9f67144615b018828226949701a6935336cbfc43 (diff) |
Support HTTPD graceful restarts for non-stop operation. Simplified Python and Java error capture and recovery.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@907470 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/server')
-rw-r--r-- | sca-cpp/trunk/modules/server/client-test.hpp | 4 | ||||
-rw-r--r-- | sca-cpp/trunk/modules/server/mod-eval.hpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sca-cpp/trunk/modules/server/client-test.hpp b/sca-cpp/trunk/modules/server/client-test.hpp index 0f8b64a031..651a9016b2 100644 --- a/sca-cpp/trunk/modules/server/client-test.hpp +++ b/sca-cpp/trunk/modules/server/client-test.hpp @@ -312,7 +312,7 @@ const bool testPut() { + (list<value>() + "price" + string("$2.99")); const list<value> a = mklist<value>(string("item"), string("cart-53d67a61-aa5e-4e5e-8401-39edeba8b83b"), i); http::CURLSession ch; - value rc = content(http::put(a, testURI, ch)); + value rc = content(http::put(a, testURI + "/111", ch)); assert(rc == value(true)); return true; } @@ -320,7 +320,7 @@ const bool testPut() { const bool testDel() { gc_scoped_pool pool; http::CURLSession ch; - value rc = content(http::del(testURI, ch)); + value rc = content(http::del(testURI + "/111", ch)); assert(rc == value(true)); return true; } diff --git a/sca-cpp/trunk/modules/server/mod-eval.hpp b/sca-cpp/trunk/modules/server/mod-eval.hpp index 0e68e63016..6ab1d68ad6 100644 --- a/sca-cpp/trunk/modules/server/mod-eval.hpp +++ b/sca-cpp/trunk/modules/server/mod-eval.hpp @@ -395,7 +395,7 @@ const failable<bool> confComponents(const string& lifecycle, ServerConf& sc, ser debug(sc.implementations, "modeval::confComponents::implementations"); // Start or restart the component implementations - return applyLifecycleExpr(impls, mklist<value>(lifecycle)); + return applyLifecycleExpr(impls, mklist<value>(c_str(lifecycle))); } /** |