StreamServe web application configurations > Keeping customized configuration files

Keeping customized configuration files
When you deploy WAR files, application specific configuration files are by default installed in the specified portal root on the Java application server. If you redeploy the WAR files, for example to apply a hotfix, any customizations that you have made to the configuration files are overwritten.
Use an external directory to keep customizations
To keep customizations at redeploy, you can use an external directory outside the portal root for some of the configuration files (see Concerned configuration files below).
When you use an external directory, web applications automatically read the configuration files from the external directory instead of from the portal root. You must therefore make any customizations to the files in the external directory.
Concerned configuration files
The files below will be copied to and read from the external directory.
StreamStudio (<Name>.war)
<Portal root>\<Name>\WEB-INF\
settings\*.xml
<Portal root>\<Name>\WEB-INF\
spring\properties\*.properties
Exception – The permissions.properties file is not copied to the external directory.
<Portal root>\sssp\WEB-INF\
spring\properties\*.properties
Exception – The velocity.properties file is not copied to the external directory.
Ad Hoc Correspondence (<Name>_adhoc.war)
<Portal root>\<Name>_adhoc\WEB-INF\spring\properties\*.properties
Correspondence Reviewer (<Name>_reviewer.war)
<Portal root>\<Name>_reviewer\WEB-INF\spring\properties\*.properties
DBQ Tool
(
<Name>_dbq.war)
<Portal root>\<Name>_dbq\WEB-INF\spring\properties\*.properties
Specifying an external directory for configuration files
You can specify an external directory for web application specific configuration files in one of the following ways:
Variable nameSTRS_WEB_CONFIG_DIR
Variable value<Path to external directory>
-Dstrs.web.config.dir=<Path to external directory>
To specify an external directory for configuration files
1
2
3
The Java applications server checks if the external directory and its sub-directories for StreamStudio and the SSSP application exist and if there are any configuration files within these directories.
4
The Java application server checks if the sub-directories exists for Ad Hoc Correspondence, Correspondence Reviewer, and the DBQ tool and if there are any configuration files within these directories.
OpenText StreamServe 5.6 Updated: 2013-03-01