summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/components/webservice/server-test
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-01-30 08:06:00 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-01-30 08:06:00 +0000
commitc06d7a38b904247917462c3c1a780f95c68e0709 (patch)
tree09e734786aa4aa710b7248921185f9ace9454078 /sca-cpp/trunk/components/webservice/server-test
parenteb644871fca453fbc7de6dc6746eade97cb3a848 (diff)
Added a Web service listener component integrating Axis2/C's mod_axis2. Consolidated a bit the HTTPD redirect functions (used to redirect to mod_axis2.) Minor updates to the README and INSTALL files.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@904733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/components/webservice/server-test')
-rwxr-xr-xsca-cpp/trunk/components/webservice/server-test5
1 files changed, 3 insertions, 2 deletions
diff --git a/sca-cpp/trunk/components/webservice/server-test b/sca-cpp/trunk/components/webservice/server-test
index 53765cca46..eb3d53a33a 100755
--- a/sca-cpp/trunk/components/webservice/server-test
+++ b/sca-cpp/trunk/components/webservice/server-test
@@ -21,6 +21,7 @@
../../modules/http/httpd-conf tmp 8090 ../../modules/http/htdocs
../../modules/server/server-conf tmp
../../modules/server/scheme-conf tmp
+./axis2-conf tmp
cat >>tmp/conf/httpd.conf <<EOF
<Location />
@@ -31,7 +32,7 @@ EOF
apachectl -k start -d `pwd`/tmp
-axis2="${AXIS2C_HOME}/bin/axis2_http_server"
+axis2="$AXIS2C_HOME/bin/axis2_http_server"
pwd=`pwd`
cd $AXIS2C_HOME/bin
$axis2 &
@@ -43,7 +44,7 @@ sleep 2
rc=$?
# Cleanup
-kill `ps -f | grep -v grep | grep "${axis2}" | awk '{ print $2 }'`
+kill `ps -f | grep -v grep | grep "$axis2" | awk '{ print $2 }'`
apachectl -k stop -d `pwd`/tmp
sleep 2
return $rc