WebRatio provides some properties that define the information reguarding the runtime of your web application. RTXConfig.properties file is the properties file where you can configure your preferences. The RTXConfig.properties file contains information that control your work directory where the application is deployed, the upload directory where the uploaded files are stored, the log directory where the log files are stored and the report directory where the report templates are stored.
How to customize name and path
To configure the Web application so that it uses a properties file stored in a folder different from the default one you need to set the values for some variables.
In the RTXConfig.properties file write:
In the Catalina.bat file of the deployment server write:
- set JAVA_OPTS=-DextConfFolder=[absolute path for the properties file]
In this way at the server startup, the file is searched inside the specified folder using the desired name.
In a similar way you can manage also log configuration files.
In order to do this, in the RTXConfig.properties write:
And in the Catalina.bat of the deployment server write:
- set JAVA_OPTS=-DextConfFolder=[absolute path for the log configuration file]
The loaded file is: c:/Tomcat/conf/apps/Acme.properties.