Configure BellaDati WAR
The downloaded WAR archive contains an application.properties
file with default settings. Before you start updating, please follow these easy steps to modify this configuration file:
1. Extract application.properties
file from the WAR file using a tool such as 7-Zip for Windows or Linux's unzip tool.
unzip belladati.war WEB-INF/classes/conf/application.properties
2. Edit the settings in the extracted application.properties
file. You can refer to the application.properties
file from your existing installation to find out your current settings.
3. Save the configuration file WEB-INF/classes/conf/application.properties
and update the WAR archive. On Linux, the command looks like:
zip -d belladati.war WEB-INF/classes/conf/application.properties zip -u belladati.war WEB-INF/classes/conf/application.properties
Deploying BellaDati WAR
To deploy the updated belladati.war
, simply copy the WAR archive into the appropriate directory, replacing the existing file.
Deploying the update depends on the type of application server you are using:
Tomcat users have to stop the running server instance and replace the old belladati.war
file with the new one. We recommend to cleanup the working directory $TOMCAT_HOME/work
.
Jetty users have to stop the running server instance and replace the old belladati.war
file with the new one.
GlassFish users have several options how to deploy the new belladati.war
. The simplest way is to use the administration console (by default at port 4848). Click Applications on the left side, then the action Redeploy next to your BellaDati deployment. Select the new WAR file to update your installation.