Installation of Save State Service
Follow the next steps, if you need the Save State Service. The Save State Service is required to save app states persistently to a database.
-
Copy the file
savestate.war
from the obtained ZIP archive to the folder%TOMCAT%\webapps
.If Tomcat is not already running, start it now. It will then automatically unpack the WAR file to a new folder
webapps/savestate
. This might take a few seconds.
Alternatively, you can use the Tomcat Manager application running athttp://localhost:8080/manager/html
to deploy the WAR file. -
Open the map.apps
application.properties
. By default, this configuration file is located in the map.appsdata.directory.location
.-
Add the
savestate.service.url
.It is the full URL to the Save State Service followed by
/resources/appstates
.savestate.service.url=http://<yourserver>:<port>/savestate/resources/appstates
-
Append the entry
sdi_appstate-manager-integration
to the propertymanager.config.viewbundles
:manager.config.viewbundles=appmanagement,reportmanagement,bundlemanagement,mapapps-github-manager,bundleupdatechecker,sdi_appstate-manager-integration
-
-
Restart Tomcat and reload map.apps Manager in your browser.
-
Log in as an admin user to check the installation.
In map.apps Manager’s main toolbar, there is a new tool titled App States (Line 4).
![app state](../../_images/app-state-manager-integration/app-state.png)