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
6

Follow these steps to upgrade your Appway installation from a 6.2.x to a 6.3.x version.

1 Pre-upgrade

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

1.1 Cleaning the 6.2.x Model

Before every upgrade, go to Administration > Repository > Validation and run a Global Validation. Solve any errors or warnings and ensure that the Appway 6.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 may potentially cause problems after the upgrade.

1.2 Removed Elements

  • Appway 6.3 no longer supports "Custom Model" (deprecated since Appway 6.2) as a source type that can be selected for a Data Table. If your Appway solution is using "Custom Model" as a source type in any Data Table, you must change this source type to "Data Class". This new approach can handle all the use cases that "Custom Model" did. Detailed information on how to use a Data Class as a source type can be found here.
    To find all occurrences of Custom Model source type in your Data Tables, run a global search for the phrase 'custom', limiting the search to Screens only. Use case-sensitive search.

  • Run a global search for functions "SortDataRows" and "IsDataRowVisible". Delete any occurrences of these functions.

  • Additionally, the Data Class 'DataTableModel' is a system generated Data Class that served as an example for building a Custom Model. Since this Data Class also refers to the old Custom Model, it will produce validation errors in Appway 6.3. If you have not used the Data Class 'DataTableModel' in your solution, you can safely delete this Business Object.

1.3 Custom Extensions

If your Appway installation contains custom extensions, make sure that they are compatible with release 6.3 before upgrading. The document SDK: Extension Compatibility with Appway 6 (restricted access) contains a checklist to upgrade custom extensions.

1.4 Backup

Create a backup of the existing 6.2 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 6.3 version
  • Corresponding Appway extensions, based on those available in the current environment. Download the extensions into a local temp location.

Contact an Appway representative or open a support ticket 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 System Upgrade and Configuration

2.2.1 Cluster: Update Hazelcast Configuration

The default Hazelcast configuration file (<data-home>/conf/hazelcast.xml) must be updated with your 6.2.x installation's configuration.

To do so, compare your installation's Hazelcast configuration file with the default configuration file delivered with Appway and modify the default file delivered with Appway 6.3 accordingly.

  1. Use a Diff utility to compare your installation's hazelcast.xml file with the default hazelcast.xml file delivered with Appway 6.3.
    Default hazelcast.xml file for Appway 6.2:
    <?xml version="1.0" encoding="UTF-8"?>
    <hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.4.xsd"
               xmlns="http://www.hazelcast.com/schema/config"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <group>
            <name>blade</name>
            <password>runner13</password>
        </group>
        <management-center enabled="false">http://localhost:8080/mancenter</management-center>
        <properties>
            <property name="hazelcast.memcache.enabled">false</property>
            <property name="hazelcast.rest.enabled">false</property>
            <property name="hazelcast.logging.type">log4j</property>
            <property name="hazelcast.initial.min.cluster.size">0</property>
            <property name="hazelcast.operation.call.timeout.millis">300000</property>
        </properties>
        <network>
            <port auto-increment="false" port-count="100">5713</port>
            <outbound-ports>
                <!--
                Allowed port range when connecting to other nodes.
                0 or * means use system provided port.
                -->
                <ports>0</ports>
            </outbound-ports>
            <join>
                <multicast enabled="false">
                    <multicast-group>224.2.2.3</multicast-group>
                    <multicast-port>54327</multicast-port>
                </multicast>
                <tcp-ip enabled="false">
                    <interface>127.0.0.1</interface>
                </tcp-ip>
            </join>
            <interfaces enabled="false">
                <interface>10.10.1.*</interface>
            </interfaces>
            <ssl enabled="false"/>
            <socket-interceptor enabled="false"/>
        </network>
        <partition-group enabled="false"/>
        <executor-service name="default">
            <pool-size>8</pool-size>
            <queue-capacity>0</queue-capacity>
        </executor-service>
    </hazelcast>
    
    
  2. Apply the modifications discovered in Step 1 to the new 6.3 default hazelcast.xml file:
    Default hazelcast.xml file for Appway 6.3:
    <?xml version="1.0" encoding="UTF-8"?>
    <hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.5.xsd"
               xmlns="http://www.hazelcast.com/schema/config"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <group>
            <name>blade</name>
            <password>runner13</password>
        </group>
        <management-center enabled="false">http://localhost:8080/mancenter</management-center>
        <properties>
            <property name="hazelcast.memcache.enabled">false</property><!-- default is true -->
            <property name="hazelcast.rest.enabled">false</property><!-- default is true -->
            <property name="hazelcast.jmx">false</property><!-- default is false -->
            <property name="hazelcast.jmx.detailed">false</property><!-- default is false -->
            <property name="hazelcast.logging.type">log4j</property><!-- default is jdk -->
            <property name="hazelcast.initial.min.cluster.size">0</property><!-- default is 0 -->
            <property name="hazelcast.operation.call.timeout.millis">60000</property><!-- default is 60000 -->
        </properties>
        <network>
            <port auto-increment="false" port-count="100">5713</port>
            <outbound-ports>
                <!--
                Allowed port range when connecting to other nodes.
                0 or * means use system provided port.
                -->
                <ports>0</ports>
            </outbound-ports>
            <join>
                <multicast enabled="false">
                    <multicast-group>224.2.2.3</multicast-group>
                    <multicast-port>54327</multicast-port>
                </multicast>
                <tcp-ip enabled="false">
                    <interface>127.0.0.1</interface>
                    <member-list>
                        <member>127.0.0.1</member>
                    </member-list>
                </tcp-ip>
            </join>
            <interfaces enabled="false">
                <interface>10.10.1.*</interface>
            </interfaces>
            <ssl enabled="false"/>
            <socket-interceptor enabled="false"/>
        </network>
        <partition-group enabled="false"/>
        <executor-service name="default">
            <pool-size>8</pool-size>
            <queue-capacity>0</queue-capacity>
        </executor-service>
    </hazelcast>
    
    
  3. Use a "diff" utility again to compare the 6.3 default file and your modified version. This is to make sure that you applied only the necessary changes.

2.2.2 Cluster Storage Update

If your Appway installation uses a relational database or Cassandra as a cluster storage, you must create two additional tables:

  • licenselogentrylists
  • cryptokeys (when upgrading to version 6.3.23 and higher)

The following are examples of scripts that generate the licenselogentrylists table:

  • MySQL:
    CREATE TABLE licenselogentrylists (id VARCHAR(4000) NOT NULL, data LONGBLOB NOT NULL, INDEX USING BTREE(id(255)));
  • Oracle:
    CREATE TABLE licenselogentrylists (id VARCHAR(4000) NOT NULL, data BLOB NOT NULL); CREATE INDEX licenselogentrylists_idx ON licenselogentrylists(id);
  • DB2:
    CREATE TABLE licenselogentrylists (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 licenselogentrylists (id ascii PRIMARY KEY, data blob);

The following are examples of scripts that generate the cryptokeys table:

  • MySQL:
    CREATE TABLE cryptokeys (id VARCHAR(4000) NOT NULL, data LONGBLOB NOT NULL, INDEX USING BTREE(id(255)));
  • Oracle:
    CREATE TABLE cryptokeys (id VARCHAR(4000) NOT NULL, data BLOB NOT NULL); CREATE INDEX cryptokeys_idx ON cryptokeys(id);
  • DB2:
    CREATE TABLE cryptokeys (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 cryptokeys (id ascii PRIMARY KEY, data blob);

2.2.3 Update Core

  • Standalone installation: Go to the Appway home directory and replace the ROOT.war with the new version.
  • Application Server: Open the control center of your application server and deploy the new version of the WAR file.

You can find more information in the System Installation (Appway 6) document.

2.2.4 Update Extensions

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

It is important that you 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 6.3.

2.2.5 IBM JVM Configuration

If you use IBM JVM in your Appway installation (included in WebSphere), you must add a configuration property in \<data-home>/conf/conf.properties. This property sets the compressor to Snappy, since LZ4 does not work with most versions of IBM JVM. LZ4 is only supported with the following IBM JVM versions:

  • Version 8
  • Version 7.1 Service Refresh 2 FixPack 10 (released in February 2015)
  • Version 7 Service Refresh 8 FixPack 10 (released in February 2015)

Add the following configuration property: nm.cluster.licenselogentrylist.compressor = Snappy

Your 6.2 environment should already have several similar configuration properties which are set to Snappy as well.

2.3 Testing

  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 Administration > System > Overview.
  4. Check that extension version numbers have been updated in the Extensions > Version column.
  5. Re-run the Global Validation report. Browse the validation logs (Show Validation Logs) and use its diff viewer to compare versions. Apply fixes for any new errors or warnings.
  6. Take this opportunity to remove any Business Object versions that are not needed any more by using the Obliterate feature. In some cases, this action can free up a large amount of memory.
  7. Thoroughly test your solution.

3 Post-upgrade

Perform the following steps when Appway 6.3 is already running.

3.1 Removed Functions

The table below lists all functions that have been removed between the 6.2 and 6.3 releases. If your Appway Platform contains non-standard extensions, see the recipe Comparing functions across Appway installations for more information.

Removed function Source More information
SortDataRows Built-in No replacement for this function.
IsDataRowVisible Built-in No replacement for this function.

3.2 Updating Screens

3.2.1 Date Picker and Dropdown List Migration

Appway 6.3 introduces new, improved versions of the Date Picker and Dropdown List Screen Components. The new components look the same but work differently. They offer enhanced usability, especially on mobile devices; easier configuration, and full responsiveness, regardless of screen size. The new Dropdown List is also capable of lazy loading, allowing for loading a large number of records very quickly.

After upgrading to version 6.3, it is recommended to migrate the legacy versions of these components. Appway provides a tool for this migration. If you choose to not migrate your Screen components, they will continue to work as before. You can migrate them at any point in time, not necessarily during the upgrade to Appway 6.3.

The migration tool essentially recreates the following procedure, preventing you from performing it manually:

  1. Open the Screen that hosts the legacy component.
  2. Drag the new version of the Screen component to the Screen.
  3. Copy all properties from the legacy component to the new component.
  4. Delete the legacy component.

The Screens are modified at runtime. The new version of the Screen with the migrated component is not automatically committed.

To access the migration tool, open your Appway Studio and go to Administration > Migration > Screen Components. Follow these steps to migrate your components:

  1. Select the Screen component that you want to migrate, either Dropdown List [Legacy], or Date Picker [Legacy].
  2. Select the new component to which the legacy component will be migrated, either Dropdown List or Date Picker. Click Find.
  3. The tool searches through all the Screen components in your Library and returns a list of all occurrences of the selected legacy component. It also provides you with some information about the benefits of this migration scenario.
    Note: You can double-click any entry in the table to drill down and open the Business Object editor for the specific component.
  4. The first column of the table tells you whether the migration with the tool is Possible, Possible with Risks, or Not Possible:
    • Possible – Migrating this Screen component with the tool is possible and should not cause any issues.
    • Possible with Risks – Expand this entry in the table to view the risks related to this migration. Risks mean that some properties of the component will be lost during migration but you can still use the tool to migrate the component. In most cases, the issue will be that some styles cannot be retained by the tool.
    • Not Possible – This component cannot be migrated using the migration tool. In case of Dropdown List, this is often caused by the fact that the list is configured for multiple selection, a feature not supported by the new Dropdown List component. The new Date Picker, on the other hand, does not support converters.
  5. Select a component and click Migrate. It is recommended to migrate all Possible and all Possible with Risks components one by one and review them for any lost data. In the Library, a list called Screen Components Migration is automatically created and populated with all the updated Screen Business Objects. After reviewing them, make sure to commit the Screens.
    Note: You can ctrl+click the entries in the table to migrate multiple components at once.
  6. For components for which migration is Not Possible, the only way to migrate them is to manually recreate their functionality using the new version of the Screen Component.

3.2.2 Deprecated Screen Components

Components deprecated from Appway 6.3 are still functional in this release, but will be removed from future Appway versions. Their functionality has either been replaced or no longer complies with the Appway Platform's design rules.

Deprecated component More information
Date Picker [Legacy] The Date Picker [Legacy] Screen component is deprecated from Appway 6.3 but is still functional in this release. It will be removed from future Appway versions.
The functionality has been replaced by the new Date Picker component.
Tab Box and Tab Content The Tab Box and Tab Content Screen components are deprecated from Appway 6.3 but are still functional in this release. They will be removed from future Appway versions.
The functionality has been replaced by the Adaptive Tab component and some functionality does not comply with the Appway Platform's design rules anymore.
© 2026 Appway AG. All Rights Reserved