Browse Source

Fixed a bug with gemini's start script

msmith-techempower 10 years ago
parent
commit
1b681f51f5

+ 1 - 1
frameworks/Java/gemini/Docroot/WEB-INF/resin.xml

@@ -14,7 +14,7 @@
     </server>
     </server>
 
 
     <host>
     <host>
-      <web-app id="/" root-directory="/home/tfb/FrameworkBenchmarks/gemini/Docroot" />
+      <web-app id="/" root-directory="/home/tfb/FrameworkBenchmarks/frameworks/Java/gemini/Docroot" />
     </host>
     </host>
 
 
   </cluster>
   </cluster>

+ 1 - 1
frameworks/Java/gemini/start.sh

@@ -1,7 +1,7 @@
 #!/bin/bash
 #!/bin/bash
 
 
 sed -i 's/db.ConnectString = .*:3306/db.ConnectString = '"$DBHOST"':3306/g' Docroot/WEB-INF/GeminiHello.conf
 sed -i 's/db.ConnectString = .*:3306/db.ConnectString = '"$DBHOST"':3306/g' Docroot/WEB-INF/GeminiHello.conf
-sed -i 's|root-directory=".*/FrameworkBenchmarks/gemini|root-directory="'"$TROOT"'|g' Docroot/WEB-INF/resin.xml
+sed -i 's|root-directory=".*/FrameworkBenchmarks/frameworks/Java/gemini|root-directory="'"$TROOT"'|g' Docroot/WEB-INF/resin.xml
 mkdir -p Docroot/WEB-INF/classes
 mkdir -p Docroot/WEB-INF/classes
 ant compile
 ant compile
 $RESIN_HOME/bin/resinctl -conf $TROOT/Docroot/WEB-INF/resin.xml start
 $RESIN_HOME/bin/resinctl -conf $TROOT/Docroot/WEB-INF/resin.xml start