You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This document describes the procedure for updating BellaDati running on Tomcat, GlassFish or Jetty application servers. If you are trying to install BellaDati on these servers, please follow the instructions on Installing BellaDati manually pages instead.

Configure BellaDati WAR

You don't need to update the WAR file if you are running BellaDati 2.7.13 or higher.

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.

Configuration settings are explained in detail in the BellaDati WAR Configuration Overview.

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

We strongly recommend to perform a database backup before deploying the BellaDati update.

To deploy the 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 and remove old application directory $TOMCAT_HOME/webapps/belladati/

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.

  • No labels