Hide last authors
gru 7.2 1 {{content/}}
sas 1.1 2
gru 7.2 3 By default, all data and internal configuration files are saved to the default Tomcat directory or a temporary system directory. When you need to change the directory, for example to a different partition or hard drive, the following settings need to be modified.
MKO 5.1 4
gru 7.2 5 == Creating or finding the configuration file ==
MKO 5.1 6
gru 7.2 7 You can change the settings in one of following three configuration files:
MKO 5.1 8
gru 7.2 9 * {{code language="none"}}TOMCAT_DIRECTORY/webapps/FORMCYCLE_CONTEXT_NAME/WEB-INF/web.xml{{/code}}, eg. {{code language="none"}}/home/tomcat/apache-tomcat-8.5.11/webapps/formcycle-tc8/WEB-INF/web.xml{{/code}}. The relevant settings are already in this file and commented out. This configuration file is local to the {{formcycle/}} installation and is not modified when updating Tomcat.
10 * {{code language="none"}}TOMCAT_DIRECTORY/conf/Catalina/localhost/formcycle.xml{{/code}} Falls diese Datei noch nicht existiert, muss diese neu angelegt werden.
11 * {{code language="none"}}TOMCAT_DIRECTORY/conf/context.xml{{/code}}
MKO 5.1 12
gru 7.2 13 In case you have already applied the modifications as described at [[Using {{formcycle/}} with the root domain>>doc:RootDomainAccess]], modify the file {{code language="none"}}ROOT.xml{{/code}} instead.
MKO 5.1 14
gru 7.2 15 == Editing the configuration file ==
MKO 5.1 16
gru 7.2 17 Add two {{code language="none"}}Parameter{{/code}} entries to the context containing the path to the data and configuration directory to be used by {{formcycle/}}.
sas 1.1 18
gru 7.2 19 The configuration file might look like this:
sas 1.1 20
21 {{code language="xml"}}
22 <Context>
23 <WatchedResource>WEB-INF/web.xml</WatchedResource>
gru 7.2 24 <Parameter name="XFC_CONFIG_DIR" value="/home/fc/config" override="true"/>
25 <Parameter name="XFC_DATA_DIR" value="/home/fc/data" override="true"/>
sas 1.1 26 </Context>
27 {{/code}}
28
29 * **XFC_CONFIG_DIR**
gru 7.2 30 Directory containing the {{formcycle/}}'s configuration files, such as the [[application settings>>doc:Formcycle.SystemSettings.ConfigFiles.ApplicationProperties]] {{code language="none"}}application.properties{{/code}} , the [[logging settings>>doc:Formcycle.SystemSettings.UserInterface.Logging]] {{code language="none"}}logging.properties{{/code}} or the LDAP settings {{code language="none"}}ldapauth.properties{{/code}}.
sas 1.1 31 * **XFC_DATA_DIR**
gru 7.2 32 Directory containing temporary files such as [[uploaded files>>doc:Formcycle.UserInterface.MyForms.Files]] or files created by [[actions>>doc:Formcycle.Designer.Workflow.Actions.WebHome]] during workflow processing.