Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
fujitsu:hpcgateway:guides:admin:install:installation_update_install_1.2.0 [2016/09/27 13:26]
fujitsu
fujitsu:hpcgateway:guides:admin:install:installation_update_install_1.2.0 [2016/09/27 13:32] (current)
fujitsu
Line 51: Line 51:
  
 5 - Configure Jetty to use mongo for the session 5 - Configure Jetty to use mongo for the session
 +
 +Copy from template and set the jetty-nosql.xml configuration file
  
 <​code>​ <​code>​
-sed   packages/​jetty/​config/​etc/​jetty-nosql.tpl ​/​opt/​hpcg/​core/​jetty/​etc/​jetty-nosql.xml+# cp packages/​jetty/​config/​etc/​jetty-nosql.tpl /​opt/​hpcg/​core/​jetty/​etc/​jetty-nosql.xml 
 +# vi  /​opt/​hpcg/​core/​jetty/​etc/​jetty-nosql.xml 
 + 
 +... 
 +              <New class="​com.mongodb.ServerAddress">​ 
 +                <Arg type="​java.lang.String">​localhost</​Arg>​ 
 +                <Arg type="​int">​27017</​Arg>​ 
 +              </​New>​ 
 +...              ​
 </​code>​ </​code>​