My FNZ Studio Version
The article you are currently reading is not compatible with your selected My Appway version.

System Installation & Upgrade

Latest Update: 22.07.2022 |
Documentation
8

Follow the tasks outlined in this article to upgrade your Appway installation from version 7.2.x to 8.x.

Tips:

1 Pre-upgrade

Perform these steps while still running Appway 7.2.x, as a preparation before the actual upgrade. This is a major upgrade and requires careful preparation and planning.

1.1 Verify Technical Requirements

Requirements with regards to browsers, Application Servers, JDK, and Servlet API have changed. Consult the Technical Requirements for Appway 8 and ensure your system complies before continuing with the upgrade.

Review your Solution and verify that custom libraries and other extensions are compatible with the changes outlined above.

1.2 Clean the 7.2.x Model

Before upgrading, go to Solution Design > Validation and run a global validation. Solve any errors or warnings and ensure that the Appway 7.2.x model is clean before moving on.

It is especially important to make sure that the Appway model is error-free before upgrading. Issues without visible consequences in the current application can cause problems after upgrading.

1.3 Check Removed and Deprecated Features

With Appway 8, a number of Screen Components, Script Functions, and other features have been deprecated, as their use is discouraged. Features deprecated in Appway 8 will continue to work as before, we plan to remove these deprecated features in Appway 10 or later.

In addition, a number of features deprecated in previous Appway versions have been removed in Appway 8.

What this means for you:

  • Features removed in Appway 8.0 – Before upgrading, check if any of the removed features are used by your Solution and if yes, modify your Solution to work without these features.
    Important! Carefully check the full list of Features removed in Appway 8.0 and the dedicated Remove UseValuestore from Solutions section to evaluate if your Solution is affected by feature removals.
    Use the search functionality available at Solution Design > Search to search your Solution for occurrences of removed features. Search each name provided in the list of removed features individually, e.g. "Set Property", "Set Style" etc.
  • Features deprecated in Appway 8.0 or Appway 7.1 and 7.2 – These deprecated features do not require any action before upgrading to Appway 8. Deprecated features will continue to work as normal in Appway 8, we plan to remove them in Appway 10 or later. This time frame gives you plenty of time to check your Solution and implement any needed changes.
    See the list of Features deprecated in Appway 8.0 and the list of Features deprecated in Appway 7.1 and 7.2.

    Note: The Listbox and Tree View Screen Components were deprecated and directly removed in Appway 8. To continue using these components, contact Appway Support to request a dedicated extension providing this functionality.

1.3.1 Remove UseValuestore from Solutions

The UseValuestore function, which was deprecated with Appway 6, was removed with Appway 8 and can no longer be used in Solutions. The function was removed because it is not a recommended design practice to modify one Process from another Process. In addition, making such modifications requires gaining a lock on the Process Instance which can block the user currently working with that Process Instance.

If your Solution uses this function, remove all occurrences before upgrading to Appway 8. If removing UseValuestore from your Solution is not possible, contact Appway Support for more information.

Note: Also see the full list of Features removed in Appway 8.0.

1.4 Check the Near Cache Configuration for Value Stores

Using the Near Cache for distributed maps is beneficial when there are more read than write operations on a distributed map, otherwise using the Near Cache results in unnecessary overhead.

In Appway 7, the Near Cache for Value Stores is enabled by default. However, the Near Cache for Value Stores is not used efficiently in most cases. To avoid unnecessary overhead, the Near Cache for Value Stores is disabled by default from Appway 8.

We recommend to check the usage of the Near Cache for Value Stores in Appway 7 and explicitly enable it if its use is beneficial in your scenario – this setting is then persisted in Appway 8, meaning the Near Cache for Value Stores will not be disabled after upgrading.

1.4.1 Check Near Cache Usage

To understand if you should continue to use the Near Cache for Value Stores in Appway 8, check the Near Cache Hit Rate for Value Stores:

  1. Go to System Maintenance > Cluster Tools > Hazelcast Maps.
  2. In the table, find the the row where Map = Value Stores and Node = All (sum | avg).
  3. Check the value available in the Near Cache Hit Rate column:
    • If the value exceeds 70%, contact Appway Support to discuss the next steps.
    • If the value is below 70%, there is no need to enable the Near Cache in Appway 8. No further actions are required, continue with section 1.5.

Note: If the Hazelcast Maps window is not available, install the ClusterTools extension. Contact Appway Support to request the extension.

1.4.2 Ensure the Near Cache is Enabled in Appway 8

If agreed with Appway Support, enable the Near Cache for Value Stores in Appway 7 to ensure it is not disabled after upgrading to Appway 8.

Important! If you have already customized the below properties in the server configuration, keep the custom values you are currently using. These settings will be persisted to Appway 8 and the functionality of the Near Cache will not change.

To explicitly enable the Near Cache for Value Stores, go to System Configuration > Configuration Properties and select Edit Server Configuration from the context menu. Add the following properties and values to the server configuration file:

  • nm.cluster.nearcache.valuestores.maxidle = 900
  • nm.cluster.nearcache.valuestores.maxsize = 0
  • nm.cluster.nearcache.valuestores.ttl = 1200

Note: In Appway 7, the values suggested above are the default values. By setting them explicitly in the server configuration, you ensure that they will continue to be used in Appway 8. If these values are not set explicitly, Appway 8 will use the new default values instead, which means the Near Cache for Value Stores will be disabled.

1.5 Prepare Custom Extensions

If your Appway installation contains custom extensions, make sure that they are compatible with the Appway 8.x release before upgrading. Contact your CSM or Appway Support for more details.

1.6 Create a Backup

Create a backup of the existing 7.2.x installation.

2 Upgrade

Follow the steps in this chapter to upgrade your system once it is ready.

You will need the following files:

  • Latest Appway 8.x version
  • Corresponding Appway extensions, based on those available in the current environment. Download the extensions into a local temp location.

Contact Appway Support to request them.

2.1 Stop Appway

Run a clean shutdown of the Appway installation to remove any files that are not required. For more information, see the recipe Shutting down a large cluster.

2.2 Cluster Storage Update

The tasks you need to perform to update the Cluster Storage depend on the shared storage strategy you are using:

  • Relational database – No action needed if your system is configured to allow automatic table creation as described in section 2.2.1.
    Alternatively, create the webapimetricslists and groups tables manually as described in section 2.2.2.
  • Apache Cassandra database – Create the webapimetricslists and groups tables manually as described in section 2.2.2.
  • Shared file system – No action needed, skip this section and continue with section 2.3.

2.2.1 Automatic Table Creation

The webapimetricslists and groups tables are created automatically if you are running a Relational database and ensure the following prerequisites are fulfilled (otherwise see the following section on manual table creation):

  1. Use version 12.0.0 or higher of the RelationalDbHazelcastStore extension.
  2. In the RelationalDbHazelcastStore extension, define the com.nm.cluster.relationaldb.dialect configuration property, possible values are Db2, MsSQLServer, MySQL, or Oracle.
    If the property is missing, Appway tries to infer the correct dialect from other configuration properties such as com.nm.cluster.relationaldb.connection.url or com.nm.cluster.relationaldb.jndi.path. If the dialect cannot be inferred and some tables are missing, startup is aborted.
  3. Ensure the user performing the upgrade has privileges to create tables, or define a special admin user with privileges to create tables and define the according admin connection in the appropriate configuration properties of the RelationalDbHazelcastStore extension:
    • For JDBC:

      • com.nm.cluster.relationaldb.admin.connection.url
      • com.nm.cluster.relationaldb.admin.username
      • com.nm.cluster.relationaldb.admin.password
    • For JNDI:

      • com.nm.cluster.relationaldb.admin.jndi.path

Notes:

  • To update the extension properties, you have two options:
    • While the system is running, update the required configuration properties using Studio (System Configuration > Extensions). The properties are propagated automatically to all nodes and take effect after the system is restarted.
    • While the system is stopped, update the required configuration properties on all nodes (in the extension CFG file), the properties take effect after the system is started.
  • If you need to run customized queries to create tables, you have two options:
    • Create the tables before startup, or
    • Update the tables after they are automatically created.

2.2.2 Manual Table Creation

If your Appway installation uses Cassandra as a cluster storage backend, manually create the following tables:

  • webapimetricslists
  • groups

Note: If you are using a Relational database and your system is not configured to create tables automatically as described in the preceding section, follow the instructions in this section.

Script examples for creating new tables on different databases are provided below. The examples below create the webapimetricslists table, but can be reused for creating the other new tables by replacing the table name in the script:

  • MySQL
    CREATE TABLE webapimetricslists (id VARCHAR(4000) NOT NULL, data LONGBLOB NOT NULL, INDEX USING BTREE(id(255)));
  • Oracle
    CREATE TABLE webapimetricslists (id VARCHAR(4000) NOT NULL, data BLOB NOT NULL); CREATE INDEX webapimetricslists_idx ON webapimetricslists (id);
  • DB2
    CREATE TABLE webapimetricslists (id VARCHAR(4000) NOT NULL primary key, data BLOB (1G) INLINE LENGTH 28600 NOT NULL COMPACT LOGGED) in tspc_data index in tspc_index long in tspc_long;
  • Cassandra
    CREATE TABLE webapimetricslists (id ascii PRIMARY KEY, data blob);
  • MS SQL Server
    CREATE TABLE webapimetricslists (id VARCHAR(4000) NOT NULL PRIMARY KEY, data varbinary(max) NOT NULL);

2.2.3 Troubleshooting

If you forget or neglect to create the tables mentioned above when upgrading your installation, errors of this type are displayed when restarting the application (if your installation uses a Relational database or Cassandra as a cluster storage backend):

ERROR [cached3] com.nm.extensions.relationaldbhazelcaststore.AbstractRelationalDbHzStore - Problem loading all keys from relational database store: Table 'appway.cryptokeys' doesn't exist

To fix these errors, follow these steps:

  1. Stop Appway and the application server.
  2. Create all of the missing tables according to the instructions provided above.
  3. Restart the application server and Appway.

2.3 Update Appway Core

To update Appway Core on your application server:

  • Open the control center of your application server
  • Deploy the new version of the WAR file

Important!
With Appway 8, servlets and filters are dynamically registered and are no longer part of the web.xml.

If you have customized the web.xml file, merge your custom web.xml with the new web.xml delivered with Appway 8. Make sure that your customized web.xml includes all new entries delivered with Appway 8. Failure to do so can lead to unexpected behavior in the Appway Studio.

Contact Appway Support if you require assistance when creating the updated custom web.xml file.

You can find more information in the System Installation article.

2.4 Update / Add Extensions

Replace each extension with its corresponding new version in AppwayHome/data/extensions. Make sure you replace only the JAR files; any CFG files should remain the same as on your 7.2.x system, in case you made any custom configurations.

!Important! Update all of the extensions. Even if the version of an extension has not changed and it contains no new features, you must replace it with a version compiled against Appway 8.x.

Check the subsections below for information on prerequisites for specific extensions and new extensions you might need to install if you require certain functionality.

2.4.1 Mandatory Extensions in Appway 8

Mandatory extensions (previously known as core extensions) are extensions that should be installed on every Appway instance. They provide important features and strengthen the available analytical capabilities allowing you to tune your Appway installation and ensure maximum platform stability.

Ensure the following mandatory extensions are installed on your system:

  • ClusterTools – Provides insights into the internals of Appway Cluster and Hazelcast.
  • Component – Contains most of the Screen Components available in Appway.
  • DefaultIcons – Adds generic Workspace icons for use with Screen Components and in Solutions.
  • Functions – Provides many additional functions vital to working in Appway.
  • Inbox – Provides out-of-the-box filters as well as sorting, paging, and text-based searching capabilities for Workitems.
  • ProcessUsageTracker – Collects usage statistics (started, updated, stopped) for top-level Processes in Appway Solutions. These statistics can be accessed in the license report.
  • StatisticsCollector – Collects statistics relevant for testing and tuning Appway installations.
  • StylePackageTools – Enables a set of tools which support the definition and maintenance of Style Packages.
    Note: Import the Style Package Tools Package to your Appway instance before starting this extension. The Package can be downloaded in the Packages area on community.appway.com.
  • SystemHealthSensors – Adds additional health sensors to the Appway Health Service.

Note: Installing the HazelcastForceUnlock extension, defined as a mandatory extension for Appway 7, is no longer mandatory in Appway 8.

2.4.2 CustomSensors Extension

The following changes have been made to the CustomSensors extension with Appway 8:

  • The CustomSensors extension now contains only the Custom Script Sensor.
    If you are using this sensor, install the CustomSensors extension in Appway 8.
  • All other sensors contained in the CustomSensors extension in Appway 7 (Extensions, Log Errors, Value Store Sizes, (configurable) Java Memory, and (configurable) CPU Load) have been moved to the SystemHealthSensors extension.
    If you were using these any of these sensors, ensure that the SystemHealthSensors extension is installed with Appway 8. If you configured any of these sensors with custom values, re-apply those configuration settings in the configuration of the SystemHealthSensors extension.

See the System Health article for more details on the health sensors moved to the SystemHealthSensors extension.

2.4.3 ClusterConnectivity Extension

The ClusterConnectivity extension is no longer available with Appway 8. All health sensors contained in the ClusterConnectivity extension in Appway 7 (Network Ping, Hazelcast TCP, Hazelcast Task) have been moved to the SystemHealthSensors extension.

If you were using these any of these sensors in Appway 7, ensure that the SystemHealthSensors extension is installed with Appway 8. If you configured any of these sensors with custom values, re-apply those configuration settings in the configuration of the SystemHealthSensors extension.

See the System Health article for more details on the health sensors moved to the SystemHealthSensors extension.

2.5 Verify hazelcast.xml

Hazelcast was updated to version 3.8.7 in Appway 7.2. This Hazelcast version is still in use in Appway 8.0.

If you did not make any manual changes to the conf/hazelcast.xml, you can skip this section. If there are manual changes, we recommend that you validate your local modifications by comparing your hazelcast.xml with the default hazelcast.xml provided with Appway 8.0.

2.6 SSL Certificates with WebSphere 8.5 or Higher

If you are using WebSphere 8.5 or higher and want to enable Appway to pick up SSL certificates injected by WebSphere, set the following configuration property to true (default: false):

nm.security.ssl.useWebSphereMethodExecutor

2.7 Test Your Installation

After performing the actual upgrade, follow these steps to test your installation:

  1. Start Appway.
  2. When completely started, check the log output of the startup. Carefully examine all errors and warnings before continuing to the Studio.
  3. Check that the Appway version number has been updated in System Maintenance > Overview.
  4. Check that extension version numbers have been updated in the System Configuration > Extensions > Version column.
  5. Re-run the Validation report (Solution Design > Validation). Browse the validation logs (Show Validation Logs) and use its diff viewer to compare versions. Apply fixes for any new errors or warnings.
  6. Thoroughly test your solution.

3 Post-upgrade

Perform the steps outlined in the following sections when Appway 8.x is running.

Important Note: After the upgrade, do not import Business Objects exported from Appway 7.2 or lower to Appway 8. Importing Business Objects which were exported from an older Appway version is not supported. Import and export environment must both belong to the same master branch (e.g. Appway 8.x).
To avoid this issue, any Appway 7.2 (or older) instance should be updated to version 8 before exporting Business Objects you want to import to an Appway 8 instance.

3.1 Perform Clean-up Tasks

3.1.1 Persistence of Permission Meta Information

Appway 8 no longer persists meta information about permissions like the display name, category, or description.

Appway 7.2 stored this information in the cluster file appway/security/conf/permissionInfos.

After upgrading from Appway 7.2 to Appway 8.x, this cluster file can be deleted using the following script:

DELETECLUSTERFILE('appway/security/conf/permissionInfos')

Note: If the file is not deleted, it is ignored by Appway 8.

3.2 Changes in Default Functionality

3.2.1 Using the Functions EQUAL, LESS, NOTEQUAL, and GREATEREQUAL

Before Appway 8, the comparisons performed by the following functions used the type of the first argument to compare all following arguments:

  • EQUAL (==)
  • LESS (<)
  • NOTEQUAL (!=)
  • GREATEREQUAL (>=)

This semantic was not intuitive to developers and has therefore been changed.

Examples before Appway 8:

  • 4 == 4.4782398 returns true
    First type is Integer, so arguments are compared as Integers
  • 4.4782398 == 4 returns false
    First type is Double, so arguments are compared as Double

Appway 8 identifies the argument type which has the higher precision, converts the other argument to this type, and then performs the comparison.

Examples with Appway 8:

  • 4 == 4.4782398 returns false
    Arguments are compared as Double
  • 4.4782398 == 4 returns false
    Arguments are compared as Double

Note: The behavior of the GREATER (>) and LESSEQUAL (<=) functions is not affected by these changes and is consistent with the behavior before Appway 8.

Check your Solution to verify that these changes do not change the behavior of the Solution.

Important! If your Solution requires using the behavior available before Appway 8, contact your Solution Engineer for details on restoring the old behavior.

3.2.2 New Default Values in Style Business Objects (with Appway 8.0)

New default values have been defined for some Style Business Objects with Appway 8.0. However, these new default values take effect only for new installations. When upgrading to 8.0 from a 7.2.x installation, the default values available when you first installed are persisted.

If you are happy with the original default values or have set custom values, no action needs to be taken and you can skip this section. If you would like to adapt to the new default values, see below for more information on the changed Style Business Objects.

FilterTray Style Business Object
The default value for the Max Width option in the Size section of the FilterTray Style Business Object was changed (from 930μ to an empty value).

To adjust to the new default value, go to the FilterTray Style Business Object in the Base Package and set the new value manually.

PhaseChevron Style Business Object
The default value for the Icon Color option was changed in the following sections of the PhaseChevron Style Business Object:

  • Icon Completed Phase – From Dividers to ProgressCompleted
  • Icon Current Phase – From Selected to ProgressActive
  • Icon Next Phase – From SecondaryContent to ProgressPending

To adjust to the new default values, go to the PhaseChevron Style Business Object in the Base Package and set the new values manually.

ProgressBar Style Business Object
The default value for the Color option in the Bar Background section of the ProgressBar Style Business Object was changed (from Selected to ProgressActive).

To adjust to the new default value, go to the the ProgressBar Style Business Object in the Base Package and set the new value manually.

SliderFilter Style Business Object
The default value for the Color option in the Slider track active section of the SliderFilter Style Business Object was changed (from Selected to ProgressActive).

To adjust to the new default value, go to the SliderFilter Style Business Object in the Base Package and set the new value manually.

Heading1-smallinverted Style Business Object
By default, this Style Business Object now inherits from Heading1-small instead of Heading1.

To adjust to the new default value, go to the Heading1-smallinverted Style Business Object in the Base Package and set the new value manually.

Note: This change was introduced with Appway Component extension 8.0.1.

Heading1-small Style Business Object
By default, this Style Business Object now inherits from Heading1, with the Text Size adjusted to TextSizeXL.

To adjust to the new default value, go to the Heading1-small Style Business Object in the Base Package and set the new inheritance and value for the Text Size manually.

Note: This change was introduced with Appway Component extension 8.0.2.

Heading2-small Style Business Object
By default, this Style Business Object now inherits from Heading2, with the Text Size adjusted to TextSizeM.

To adjust to the new default value, go to the Heading2-small Style Business Object in the Base Package and set the new inheritance and value for the Text Size manually.

Note: This change was introduced with Appway Component extension 8.0.2.

3.2.3 New Default Values in Style Business Objects (with Appway 8.1)

New default values have been defined for some Style and Style Value Business Objects with Appway 8.1. However, these new default values take effect only for new installations. When upgrading to 8.1 from a 7.2.x or 8.0.x installation, the default values available when you first installed are persisted.

If you are happy with the original default values or have set custom values, no action needs to be taken and you can skip this section. If you would like to adapt to the new default values, see below for more information on the changed Style and Style Value Business Objects.

Button_Text-navigationToParent
The default value for the Text Size option in the Text section of the Button_Text-navigationToParent Style Business Object was changed (from TextSizeL to TextSizeM).

To adjust to the new default value, go to the the Button_Text-navigationToParent Style Business Object in the Base Package and set the new value manually.

Button_Text-navigationToParentInverted
By default, this Style Business Object now inherits from Button_Text-navigationToParent, with the Text Color adjusted to ThemeInverted.

To adjust to the new default values, go to the Button_Text-navigationToParentInverted Style Business Object in the Base Package and set the new inheritance and value for the Text Color manually.

Color - Theme
By default, this Style Value Business Object is now set to the Color value #004073 (previously #003855).

To adjust to the new default value, go to the Color - Theme Style Value Business Object in the Base Package and set the new value for the Color manually.

3.2.4 Changes to Permissions

After upgrading to Appway 8, the Permissions and Roles configured in Appway 7.2 continue to be available and will work seamlessly.

However, some new permissions were introduced with Appway 8 to allow a more fine-grained control of access to certain parts of the Studio. After upgrading, these new permissions are assigned to the Administrator. Reassign these new permissions to existing Roles (or create new Roles to assign them to) as required by your organization's policies.

To assign a Permission to a Role:

  1. Go to System Configuration > Users/Groups/Roles > Roles in the Studio, right-click on the Role, and select Permissions. The Role Permissions dialog is displayed.
  2. Select the checkboxes corresponding to the Permissions you want to assign to the Role.

Important! In Appway 8, assigning Permissions to Roles is subject to licensing. As a user upgrading from Appway 7.2, you will be provided with this license which needs to be installed after upgrading. Ensure the license is installed to be able to assign Permissions to Roles.

The Permissions newly introduced with Appway 8 are:

  • Obliterate Business Objects – Allows permanently removing unused versions of Packages and Business Objects based on a date filter. If not granted, the 'Obliteration' sub-module is hidden.
  • Generate System Report – Allows generating and downloading the System Report, which contains technical information about the Appway installation and environment. If not granted, the 'Show System Report' action is not available.
  • Manage Health Sensors – Allows viewing, querying, and resetting System Health Sensors. If not granted, the 'Health' sub-module is accessible in read-only mode.
  • Manage User Sessions – Allows listing and removing sessions for users in the system. If not granted, the 'User Sessions' sub-module is hidden.
  • Manage Statistics – Allows resetting the collected data in the Repository, Serialization, I/O, and CPU Statistics modules. If not granted, all 'Statistics' sub-modules are accessible in read-only mode.
  • Trace HTTP Sessions – Allows starting an HTTP Tracing/Network Statistics session and investigating the collected data. If not granted, the 'HTTP Tracing/Network Statistics' sub-module is hidden.
  • Manage Caches – Allows listing the System, Cluster, and Application caches, as well as flushing System Caches and deleting Cluster/Application caches. If not granted, all 'Caches' sub-modules are hidden.

Note: For a full overview of permissions in Appway 8, see Advanced Permissions for Studio and Workspace Access.

3.3 Adopting New Features

Appway 8 brings a host of new features. Adopting these new features is not a prerequisite for successfully upgrading to Appway 8, but the use of these features is beneficial in the long run.

For detailed information on the new features and how to integrate them into your Solutions and benefit from them, see the following sections in the Appway Knowledge Base on community.appway.com:

Tip: Ensure the version selector in the header of community.appway.com is set to Appway 8 to see the correct content.
© 2026 Appway AG. All Rights Reserved