Changes between Version 4 and Version 5 of proposals/GeoNetworkDataDir


Ignore:
Timestamp:
Mar 12, 2012, 3:29:21 AM (12 years ago)
Author:
fxp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • proposals/GeoNetworkDataDir

    v4 v5  
    4545 * geonetwork.dir
    4646
     47==== Java System Property ====
     48
    4749Depending on the servlet container used it is also possible to specify the data directory location with a Java System Property.
    4850
     
    5052{{{
    5153CATALINA_OPTS="-Dgeonetwork.dir=/var/lib/geonetwork_data"
     54}}}
     55
     56==== Run the web application in read-only mode ====
     57
     58In order to run the catalogue with the webapp folder in read-only mode, user needs to set 2 variables:
     59 * <webappName>.dir or geonetwork.dir for the data folder.
     60 * (optional) config overrides if configuration files needs to be changed (See http://geonetwork-opensource.org/manuals/trunk/eng/users/admin/advanced-configuration/index.html#configuration-override).
     61
     62For Tomcat, configuration could be:
     63{{{
     64CATALINA_OPTS="-Dgeonetwork.dir=/var/lib/geonetwork_data -Dgeonetwork.jeeves.configuration.overrides.file=/var/lib/geonetwork_data/config/my-config.xml"
    5265}}}
    5366