Update existing installation
This page describes how to update an existing installation to a newer version. Existing apps, app templates and report templates as well as uploaded bundles are preserved.
Before updating
|
Determine the map.apps version
To identify which version you are running, open the URL https://<yourserver>/mapapps/info.txt
.
Updating the installation
To update map.apps to a newer version, follow these steps:
-
Stop the Apache Tomcat server.
-
Remove the old map.apps context from
%TOMCAT%\webapps\
(move it to a backup folder before deleting it completely). -
Extract the new map.apps version to
%TOMCAT%\webapps\
. -
Edit the file
%TOMCAT%\webapps\mapapps\WEB-INF\classes\custom-application.properties
and point thedata.directory.location
property to your.mapapps
folder. This folder contains the customizedapplication.properties
of your previous map.apps installation. The step is only required if the location of the folder.mapapps
differs from the default location. -
Start the Apache Tomcat server.
Simplified update with external
Do not modify the file application.properties file%TOMCAT%\webapps\mapapps\WEB-INF\classes\application.properties .
Use an external configuration file instead as described in configuration.
|
Caching
If you use the same name for the web application (for example %TOMCAT%\webapps\mapapps
), the browser cache on every client machine has to be deleted, to make sure that all changes take effect.
After a defined time of half a day by default, the changes take effect for all users without actively clearing the browser cache.
Default Apps
When creating a new app, you can choose to create a default app.
The template file for this app (default-app-4.zip
) is located in the map.apps data directory.
To define the path to this directory, use the parameter data.directory.location
in file %TOMCAT%\webapps\mapapps\WEB-INF\classes\custom-application.properties
.
If you have not made any customizations to the default app, remove it from the working directory so that updated versions of the default app are picked up from the new version of map.apps. |
Custom Development
If you use custom bundles in your map.apps installation that use the ArcGIS API for JavaScript, check for breaking changes that might effect your implementation.