en:user_advanced:gs3_server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:user_advanced:gs3_server [2016/11/16 23:52] – [Apache Tomcat] kjdon | en:user_advanced:gs3_server [2023/03/13 01:46] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | |||
====== Advanced Server: Greenstone 3 ====== | ====== Advanced Server: Greenstone 3 ====== | ||
Line 19: | Line 22: | ||
==== Starting and Stopping Tomcat ==== | ==== Starting and Stopping Tomcat ==== | ||
- | Greenstone provides a little server program which will start the Tomcat server and open the library in a browser. See the [[en: | + | Greenstone provides a little server program which will start the Tomcat server and open the library in a browser. See the [[en:user: |
Alternatively, | Alternatively, | ||
Line 99: | Line 102: | ||
http:// | http:// | ||
+ | You will also need to tell Greenstone itself about the new web address. Edit | ||
+ | **web/ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | |||
+ | Set up the tomcat.port and shutdown port in your '' | ||
+ | |||
+ | Also edit these files ton contain the new url-prefix (if different from / | ||
+ | < | ||
+ | ./ | ||
+ | ./ | ||
+ | </ | ||
+ | to change | ||
+ | < | ||
+ | to | ||
+ | < | ||
+ | # | ||
+ | tomcat.context=urban-narrative-greenstone3 | ||
+ | </ | ||
+ | |||
+ | Don't forget to run (from GS3 folder): | ||
+ | < | ||
+ | ant configure-web | ||
+ | </ | ||
+ | to regenerate the global.properties file in the actual web folder. | ||
+ | |||
+ | Finally, to get everything running: | ||
+ | </ | ||
+ | ./ | ||
+ | ant start | ||
+ | < | ||
+ | Then | ||
+ | < | ||
+ | In the same x-term, ssh -L back into the machine running the GS3 server: | ||
+ | < | ||
+ | |||
+ | On any browser, visit: | ||
+ | < | ||
=== Running Tomcat behind a proxy === | === Running Tomcat behind a proxy === | ||
Almost everything works fine when Tomcat is running behind a proxy. | Almost everything works fine when Tomcat is running behind a proxy. | ||
Line 120: | Line 163: | ||
< | < | ||
Then, deploy | Then, deploy | ||
- | (as written in the [[http://www.greenstone.org/ | + | (as written in the [[http://files.greenstone.org/ |
< | < | ||
Check that it works, by **starting** tomcat again and going to: | Check that it works, by **starting** tomcat again and going to: | ||
Line 126: | Line 169: | ||
Make sure that the page appears. You can also look at the wsdl file for the gs3 web service that's been exposed: | Make sure that the page appears. You can also look at the wsdl file for the gs3 web service that's been exposed: | ||
< | < | ||
- | You can also deploy other sites, see the [[http://www.greenstone.org/ | + | You can also deploy other sites, see the [[http://files.greenstone.org/ |
en/user_advanced/gs3_server.1479340323.txt.gz · Last modified: 2016/11/16 23:52 by kjdon