-
Notifications
You must be signed in to change notification settings - Fork 35
Data directory
tssmits edited this page May 2, 2019
·
5 revisions
As of Flamingo version 4.3.3 it is necessary to set a data directory. It is used for storing the index which is built by Solr.
- Make a directory which is readable and writeable for the servlet container (ie. tomcat).
- Point the parameter flamingo.data.dir to that directory. For this, there are several options:
- WEB-INF/web.xml: edit the context-param flamingo.data.dir
- META-INF/context.xml: edit the parameter with the name flamingo.data.dir
- ${Catalina_base}/conf/server.xml: add a context with the paramters
i:
<context-param> <param-name>flamingo.data.dir</param-name> <param-value>/opt/flamingo_data</param-value> </context-param>
ii:
<Parameter name="flamingo.data.dir" value="/opt/flamingo_data" override="false"/>
iii: Under add the following:
<Context path="/viewer"> <Parameter name="flamingo.data.dir" value="/opt/flamingo_data" override="false"/> </Context>
Documentation on how to set the data directory comes from the Geoserver documentation.