tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajbor...@apache.org
Subject svn commit: r510053 - in /incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver: conf/httpd.conf startserver.bat startserver.sh
Date Wed, 21 Feb 2007 15:17:10 GMT
Author: ajborley
Date: Wed Feb 21 07:17:09 2007
New Revision: 510053

URL: http://svn.apache.org/viewvc?view=rev&rev=510053
Log:
Removed unneeded mod_rest config and fixed 0.96 Axis2C configuration for HttpdBigBank sample

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

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=510053&r1=510052&r2=510053
==============================================================================
--- incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/conf/httpd.conf (original)
+++ incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/conf/httpd.conf Wed Feb 21 07:17:09
2007
@@ -24,4 +24,4 @@
 # Generated by the startserver script
 Include conf/base.conf
 Include conf/mod_axis2.conf
-Include conf/tuscany_sca_mod_rest.conf
+# Include conf/tuscany_sca_mod_rest.conf

Modified: incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.bat
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.bat?view=diff&rev=510053&r1=510052&r2=510053
==============================================================================
--- incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.bat (original)
+++ incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.bat Wed Feb 21 07:17:09
2007
@@ -54,23 +54,23 @@
 @REM Generate the mod_axis2 configuration
 if not exist %APFULLDIR%\conf\mod_axis2.conf (
   echo LoadModule axis2_module %AXIS2C_HOME%\lib\mod_axis2.dll > %APFULLDIR%\conf\mod_axis2.conf
+  echo Axis2RepoPath %AXIS2C_HOME% >> %APFULLDIR%\conf\mod_axis2.conf
+  echo Axis2LogFile %AXIS2C_HOME%\logs\httpd.log >> %APFULLDIR%\conf\mod_axis2.conf
+  echo Axis2LogLevel AXIS2_LOG_LEVEL_DEBUG >> %APFULLDIR%\conf\mod_axis2.conf     
     
   echo ^<Location /axis2^> >> %APFULLDIR%\conf\mod_axis2.conf
   echo         SetHandler axis2_module >> %APFULLDIR%\conf\mod_axis2.conf
-  echo         RepoPath %AXIS2C_HOME% >> %APFULLDIR%\conf\mod_axis2.conf
-  echo         LogFile %AXIS2C_HOME%\logs\httpd.log >> %APFULLDIR%\conf\mod_axis2.conf
-  echo         Axis2LogLevel AXIS2_LOG_LEVEL_DEBUG >> %APFULLDIR%\conf\mod_axis2.conf
          
   echo ^</Location^> >> %APFULLDIR%\conf\mod_axis2.conf
 )
 
 @REM Generate the tuscany_sca_mod_rest configuration
-if not exist %APFULLDIR%\conf\tuscany_sca_mod_rest.conf (
-  echo LoadModule sca_rest_module %TUSCANY_SCACPP%/extensions/rest\service/bin/tuscany_sca_mod_rest.dll
> %APFULLDIR%\conf\tuscany_sca_mod_rest.conf
-  echo TuscanyHome %TUSCANY_SCACPP% >> %APFULLDIR%\conf\tuscany_sca_mod_rest.conf
-  echo ^<Location /rest^> >> %APFULLDIR%\conf\tuscany_sca_mod_rest.conf
-  echo        SetHandler sca_rest_module >> %APFULLDIR%\conf\tuscany_sca_mod_rest.conf
-  echo        TuscanyRoot %TUSCANY_SCACPP_ROOT% >> %APFULLDIR%\conf\tuscany_sca_mod_rest.conf
-  echo ^</Location^> >> %APFULLDIR%\conf\tuscany_sca_mod_rest.conf
-)
+@REM if not exist %APFULLDIR%\conf\tuscany_sca_mod_rest.conf (
+@REM   echo LoadModule sca_rest_module %TUSCANY_SCACPP%/extensions/rest\service/bin/tuscany_sca_mod_rest.dll
> %APFULLDIR%\conf\tuscany_sca_mod_rest.conf
+@REM   echo TuscanyHome %TUSCANY_SCACPP% >> %APFULLDIR%\conf\tuscany_sca_mod_rest.conf
+@REM   echo ^<Location /rest^> >> %APFULLDIR%\conf\tuscany_sca_mod_rest.conf
+@REM   echo        SetHandler sca_rest_module >> %APFULLDIR%\conf\tuscany_sca_mod_rest.conf
+@REM   echo        TuscanyRoot %TUSCANY_SCACPP_ROOT% >> %APFULLDIR%\conf\tuscany_sca_mod_rest.conf
+@REM   echo ^</Location^> >> %APFULLDIR%\conf\tuscany_sca_mod_rest.conf
+@REM )
 
 @REM Generate the base HTTPD configuration
 if not exist %APFULLDIR%\conf\base.conf (
@@ -81,9 +81,9 @@
 
 @REM Create logs directory
 if not exist %APFULLDIR%\logs mkdir %APFULLDIR%\logs
-set TUSCANY_SCACPP_LOG=%APFULLDIR%\logs\tuscany-server.log
+@rem set TUSCANY_SCACPP_LOG=%APFULLDIR%\logs\tuscany-server.log
 set TUSCANY_SCACPP_LOGGING=9
 
 @REM Start the HTTP server
 echo Starting Apache httpd
-httpd -d %APFULLDIR%
+httpd -X -d %APFULLDIR%

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=510053&r1=510052&r2=510053
==============================================================================
--- incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.sh (original)
+++ incubator/tuscany/cpp/sca/samples/HttpdBigBank/httpserver/startserver.sh Wed Feb 21 07:17:09
2007
@@ -45,11 +45,11 @@
 # Generate the mod_axis2 configuration
 if [ ! -f conf/mod_axis2.conf ]; then
   echo "LoadModule axis2_module $AXIS2C_HOME/lib/libmod_axis2.so.0.0.0" >conf/mod_axis2.conf
+  echo "Axis2RepoPath $AXIS2C_HOME" >>conf/mod_axis2.conf
+  echo "Axis2LogFile $AXIS2C_HOME/logs/httpd.log" >>conf/mod_axis2.conf
+  echo "Axis2LogLevel AXIS2_LOG_LEVEL_INFO" >>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
 fi
 



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


Mime
View raw message