diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-17 04:14:31 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-17 04:14:31 +0000 |
commit | 00438314438f3dde00b532ac5d8d28ccc35c7096 (patch) | |
tree | 80dbbb010c5125455a164c77670b8694231f123f /sca-cpp/trunk/test | |
parent | 50063bc212e8e93d014519ef0e4d4cabef0b6be2 (diff) |
Working queue and chat components. Added a few useful start/stop scripts. Fixed lifecycle code to call start/stop/restart functions before APR pools are cleaned up in both parent and child processes. Minor build script improvements.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@910819 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rwxr-xr-x | sca-cpp/trunk/test/store-cpp/start | 5 | ||||
-rwxr-xr-x | sca-cpp/trunk/test/store-cpp/stop | 4 | ||||
-rwxr-xr-x | sca-cpp/trunk/test/store-java/start | 5 | ||||
-rwxr-xr-x | sca-cpp/trunk/test/store-java/stop | 4 | ||||
-rwxr-xr-x | sca-cpp/trunk/test/store-python/start | 5 | ||||
-rwxr-xr-x | sca-cpp/trunk/test/store-python/stop | 4 | ||||
-rwxr-xr-x | sca-cpp/trunk/test/store-scheme/start | 5 | ||||
-rwxr-xr-x | sca-cpp/trunk/test/store-scheme/stop | 4 |
8 files changed, 8 insertions, 28 deletions
diff --git a/sca-cpp/trunk/test/store-cpp/start b/sca-cpp/trunk/test/store-cpp/start index 06410aca01..3c1da356e6 100755 --- a/sca-cpp/trunk/test/store-cpp/start +++ b/sca-cpp/trunk/test/store-cpp/start @@ -25,8 +25,5 @@ SCAContribution `pwd`/ SCAComposite store.composite EOF +../../components/cache/memcached-start ../../modules/http/httpd-start tmp - -mc="memcached -l 127.0.0.1 -m 4 -p 11211" -$mc & - diff --git a/sca-cpp/trunk/test/store-cpp/stop b/sca-cpp/trunk/test/store-cpp/stop index 07231ee7ce..a59273b8ed 100755 --- a/sca-cpp/trunk/test/store-cpp/stop +++ b/sca-cpp/trunk/test/store-cpp/stop @@ -18,6 +18,4 @@ # under the License. ../../modules/http/httpd-stop tmp -mc="memcached -l 127.0.0.1 -m 4 -p 11211" -kill `ps -f | grep -v grep | grep "$mc" | awk '{ print $2 }'` - +../../components/cache/memcached-stop diff --git a/sca-cpp/trunk/test/store-java/start b/sca-cpp/trunk/test/store-java/start index 3f669f0111..ae2743178a 100755 --- a/sca-cpp/trunk/test/store-java/start +++ b/sca-cpp/trunk/test/store-java/start @@ -27,8 +27,5 @@ EOF export CLASSPATH=`pwd`/../../modules/java/libmod-tuscany-java-1.0.jar:`pwd` +../../components/cache/memcached-start ../../modules/http/httpd-start tmp - -mc="memcached -l 127.0.0.1 -m 4 -p 11211" -$mc & - diff --git a/sca-cpp/trunk/test/store-java/stop b/sca-cpp/trunk/test/store-java/stop index 54b22172bb..79d914e937 100755 --- a/sca-cpp/trunk/test/store-java/stop +++ b/sca-cpp/trunk/test/store-java/stop @@ -20,6 +20,4 @@ export CLASSPATH=`pwd`/../../modules/java/libmod-tuscany-java-1.0.jar:`pwd` ../../modules/http/httpd-stop tmp -mc="memcached -l 127.0.0.1 -m 4 -p 11211" -kill `ps -f | grep -v grep | grep "$mc" | awk '{ print $2 }'` - +../../components/cache/memcached-stop diff --git a/sca-cpp/trunk/test/store-python/start b/sca-cpp/trunk/test/store-python/start index 33758b75fd..93e1dbe755 100755 --- a/sca-cpp/trunk/test/store-python/start +++ b/sca-cpp/trunk/test/store-python/start @@ -25,8 +25,5 @@ SCAContribution `pwd`/ SCAComposite store.composite EOF +../../components/cache/memcached-start ../../modules/http/httpd-start tmp - -mc="memcached -l 127.0.0.1 -m 4 -p 11211" -$mc & - diff --git a/sca-cpp/trunk/test/store-python/stop b/sca-cpp/trunk/test/store-python/stop index 07231ee7ce..a59273b8ed 100755 --- a/sca-cpp/trunk/test/store-python/stop +++ b/sca-cpp/trunk/test/store-python/stop @@ -18,6 +18,4 @@ # under the License. ../../modules/http/httpd-stop tmp -mc="memcached -l 127.0.0.1 -m 4 -p 11211" -kill `ps -f | grep -v grep | grep "$mc" | awk '{ print $2 }'` - +../../components/cache/memcached-stop diff --git a/sca-cpp/trunk/test/store-scheme/start b/sca-cpp/trunk/test/store-scheme/start index 398e21c8e4..db8e19c4cc 100755 --- a/sca-cpp/trunk/test/store-scheme/start +++ b/sca-cpp/trunk/test/store-scheme/start @@ -25,8 +25,5 @@ SCAContribution `pwd`/ SCAComposite store.composite EOF +../../components/cache/memcached-start ../../modules/http/httpd-start tmp - -mc="memcached -l 127.0.0.1 -m 4 -p 11211" -$mc & - diff --git a/sca-cpp/trunk/test/store-scheme/stop b/sca-cpp/trunk/test/store-scheme/stop index 07231ee7ce..a59273b8ed 100755 --- a/sca-cpp/trunk/test/store-scheme/stop +++ b/sca-cpp/trunk/test/store-scheme/stop @@ -18,6 +18,4 @@ # under the License. ../../modules/http/httpd-stop tmp -mc="memcached -l 127.0.0.1 -m 4 -p 11211" -kill `ps -f | grep -v grep | grep "$mc" | awk '{ print $2 }'` - +../../components/cache/memcached-stop |