Author: robbinspg
Date: Wed Feb 28 05:05:40 2007
New Revision: 512743

URL: http://svn.apache.org/viewvc?view=rev&rev=512743
Log:
Preload Python extension before starting httpd

Modified:
    incubator/tuscany/cpp/sca/samples/AlertAggregator/httpserver/startserver.sh
    incubator/tuscany/cpp/sca/samples/RestCustomer/httpserver/startserver.sh

Modified: 
incubator/tuscany/cpp/sca/samples/AlertAggregator/httpserver/startserver.sh
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/AlertAggregator/httpserver/startserver.sh?view=diff&rev=512743&r1=512742&r2=512743
==============================================================================
--- incubator/tuscany/cpp/sca/samples/AlertAggregator/httpserver/startserver.sh 
(original)
+++ incubator/tuscany/cpp/sca/samples/AlertAggregator/httpserver/startserver.sh 
Wed Feb 28 05:05:40 2007
@@ -63,5 +63,9 @@
 
 # Start the HTTP server
 echo "Starting Apache httpd"
+
+# Set LD_PRELOAD to use the expat included in Python to avoid incompatibilities
+export 
LD_PRELOAD=$TUSCANY_SCACPP/extensions/python/lib/libtuscany_sca_python$libsuffix
+
 apachectl -k start -d $APFULLDIR
 

Modified: 
incubator/tuscany/cpp/sca/samples/RestCustomer/httpserver/startserver.sh
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/RestCustomer/httpserver/startserver.sh?view=diff&rev=512743&r1=512742&r2=512743
==============================================================================
--- incubator/tuscany/cpp/sca/samples/RestCustomer/httpserver/startserver.sh 
(original)
+++ incubator/tuscany/cpp/sca/samples/RestCustomer/httpserver/startserver.sh 
Wed Feb 28 05:05:40 2007
@@ -72,5 +72,9 @@
 
 # Start the HTTP server
 echo "Starting Apache httpd"
+
+# Set LD_PRELOAD to use the expat included in Python to avoid incompatibilities
+export 
LD_PRELOAD=$TUSCANY_SCACPP/extensions/python/lib/libtuscany_sca_python$libsuffix
+
 apachectl -k start -d $APFULLDIR
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to