You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2006/11/20 01:31:32 UTC

svn commit: r476996 - in /incubator/tuscany/cpp/sca/samples/HttpdBigBank: README httpserver/conf/httpd.conf httpserver/startserver.sh

Author: jsdelfino
Date: Sun Nov 19 16:31:31 2006
New Revision: 476996

URL: http://svn.apache.org/viewvc?view=rev&rev=476996
Log:
Simplified the configuration, the mod_axis2 configuration is now generated automatically by the startserver script

Modified:
    incubator/tuscany/cpp/sca/samples/HttpdBigBank/README
    incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/conf/httpd.conf
    incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.sh

Modified: incubator/tuscany/cpp/sca/samples/HttpdBigBank/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/HttpdBigBank/README?view=diff&rev=476996&r1=476995&r2=476996
==============================================================================
--- incubator/tuscany/cpp/sca/samples/HttpdBigBank/README (original)
+++ incubator/tuscany/cpp/sca/samples/HttpdBigBank/README Sun Nov 19 16:31:31 2006
@@ -23,9 +23,6 @@
 The httpserver directory contains a minimal httpd configuration.
 Make sure that Apache apachectl and httpd 2.2.x are on the PATH.
 
-Before running the sample, edit httpserver/conf/httpd.conf and complete
-where it says <Your AXIS2C_HOME directory>.
-
 To start the server, cd to httpserver, and run ./startserver.sh.
 
 To verify that the server is working, point your Web browser to

Modified: incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/conf/httpd.conf
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/conf/httpd.conf?view=diff&rev=476996&r1=476995&r2=476996
==============================================================================
--- incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/conf/httpd.conf (original)
+++ incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/conf/httpd.conf Sun Nov 19 16:31:31 2006
@@ -21,11 +21,5 @@
 
 Listen 9090
 
-LoadModule axis2_module modules/mod_axis2.so
-<Location /axis2>
-        SetHandler axis2_module
-        RepoPath <Your AXIS2C_HOME directory>
-        LogFile <Your AXIS2C_HOME directory>/logs/httpd.log
-        Axis2LogLevel AXIS2_LOG_LEVEL_INFO
-</Location>
-
+# Generated by the startserver script
+Include conf/mod_axis2.conf

Modified: incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.sh
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.sh?view=diff&rev=476996&r1=476995&r2=476996
==============================================================================
--- incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.sh (original)
+++ incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.sh Sun Nov 19 16:31:31 2006
@@ -41,11 +41,15 @@
 
 export TUSCANY_SCACPP_ROOT=$APFULLDIR/../
 
-# Install the Axis2 module
-echo "Installing Axis2C mod_axis2.so"
-cp $AXIS2C_HOME/lib/libmod_axis2.so.0.0.0 ./modules/mod_axis2.so
+# Generate the mod_axis2 configuration
+echo "LoadModule axis2_module $AXIS2C_HOME/lib/libmod_axis2.so.0.0.0" >conf/mod_axis2.conf
+echo "<Location /axis2>" >>conf/mod_axis2.conf
+echo "        SetHandler axis2_module" >>conf/mod_axis2.conf
+echo "        RepoPath $AXIS2C_HOME" >>conf/mod_axis2.conf
+echo "        LogFile $AXIS2C_HOME/logs/httpd.log" >>conf/mod_axis2.conf
+echo "        Axis2LogLevel AXIS2_LOG_LEVEL_INFO" >>conf/mod_axis2.conf
+echo "</Location>" >>conf/mod_axis2.conf
 
 # Start the HTTP server
 echo "Starting Apache httpd"
 apachectl -k start -d $APFULLDIR
-



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org