The Appway Platform is a web application that runs on a Java application server. No Java application client is required; both the Appway Studio and Workspace can be accessed through a web browser.
The Appway application can be installed on a single server, or on multiple nodes to run as a cluster. It requires a local file system for each node and, in the case of a multi-node installation, a shared storage solution. The shared storage can be a shared file system, a relational database or an Apache Cassandra database.
Before reading this document, see System Installation: Technical Requirements for information on the minimal software and hardware set-up.
To install Appway, you will need the following:
- Supported application server (one or multiple nodes)
- Java Runtime Environment (latest patch release)
- Local file system (one per node)
- For multi-node installations: a shared storage solution (one per cluster)
- All server names, IP addresses and access credentials for environments Appway needs to access (e.g. LDAP, SMTP server, database server, etc.).
To install Appway on an individual server, first set up a directory in the local file system ("Data Home") and map J2EE security roles onto Appway ones. Then, install the Appway WAR file on your specific application server. Finally, start Appway to verify that it has been installed correctly.
The Data Home is a folder located on the application server's file system. This folder contains all configuration data and extensions. By default, it also stores the model for Appway apps and the data generated while running them. See Set up Cluster Storage for alternative storage locations.
To start Appway successfully, a /data/ folder and its /data/conf/ subfolder must exist at a minimum.
| Folder | Description |
| …/data/ | Root directory for all Appway data (configurations, model and active process instances). |
| …/data/conf/ | Contains all system and extension configurations. This subfolder can be empty, but it must exist. Otherwise, the "data" directory will not be accepted as Data Home. |
…/data/extensions (optional) | Contains extensions and their configuration files. Some application servers may require specific extensions in order to start the Appway Platform (see Install WAR File). Regular extensions can be installed from the Appway Studio once it has started. |
The Data Home folder can be located anywhere on the file system. The process executing Appway must have read/write rights on this folder.
To configure the path to the Data Home folder, set a JVM parameter. For example, this sets the folder /opt/appway/data as the Data Home:
nm.data.home=/opt/appway/data
Note: The process of setting a JVM parameter is different for every application server. Consult the documentation of your application server for details. On the command line, a JVM parameter can be set like this:
-Dnm.data.home=/opt/appway/data
When installing multiple Appway instances on the same server, you must configure a different location for each Data Home.
Appway provides some core extensions which should be installed on every system.
| Extension | Installation | Description |
| ComponentExtension | Required | Adds 70+ screen components to Appway, such as Adaptive Flow Layout, Date Picker, Phase Chevron, and many more. |
| DefaultIcons | Required | A number of generic Workspace icons for screen components such as the Button component and the Image component. |
| Functions | Recommended | Adds 90+ functions for the Appway scripting language, including functions for working with images, reading and writing XML files, zipping and unzipping archives, encrypting and decrypting text, and many more. |
Appway defines two J2EE security roles: "Administrator" and "User".
- Administrator – gives access to the Appway Studio
- User – gives access to the Appway Workspace
Create role mappings for the "User" and "Administrator" roles in your application server. The user registry responsible for user authentication must define at least one of the above roles for each user.
Install the Appway WAR file according to your application server. Make a note of the application's context path ({ CONTEXT_PATH }) that you define.
Make sure that the JBoss property useJBossWebLoader is set to false. Setting the property to true will result in class loading problems for JavaBean converters.
Setting it to false guarantees that Appway's core classes are properly loaded in their own web app class loader instead of through a UnifiedClassLoader.
If Apache Tomcat is running on JDK 1.8, make sure that you are using Tomcat 6.0.40, 7.0.53, 8.0.5 or newer versions of these releases. Older Tomcat versions do not support JDK 1.8.
For WebSphere installations, a special server property must be defined to handle JSON calls properly:
nm.auth.userid.sessionfallback = true
nm.applicationserver = websphere
If you are running WebSphere with the IBM JVM, note that 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)
If you are using a different version of IBM JVM, replace all occurrences of LZ4 with Snappy in the configuration properties:
nm.cluster.processinstance.compressor = Snappy
nm.cluster.valuestore.compressor = Snappy
nm.cluster.datahandle.compressor = Snappy
nm.cluster.businessobject.compressor = Snappy
nm.cluster.recentlyusedlist.compressor = Snappy
nm.cluster.logstatementlist.compressor = Snappy
nm.cluster.clusterfile.compressor = Snappy
nm.cluster.processmessage.compressor = Snappy
nm.cluster.chatchunk.compressor = Snappy
nm.cluster.chatchunkindexentry.compressor = Snappy
nm.cluster.notificationinbox.compressor = Snappy
nm.cluster.notificationtopic.compressor = Snappy
nm.cluster.datatablemodel.compressor = Snappy
nm.cluster.clustercacheentry.compressor = Snappy
nm.cluster.nodestat.compressor = Snappy
nm.cluster.customhzmapvalue.compressor = Snappy
nm.cluster.licenselogentrylist.compressor = Snappy
nm.cluster.localworkflowtokenlookupcachesnapshot.compressor = Snappy
nm.cluster.tracer.compressor = Snappy
Note: Configuration properties are found in Administation | System | Configuration. To find all properties with the value "Lz4", filter the Value column by "Lz4". Click on the column header to access the filter.
For a single-node test installation, use the license file which comes packaged in the Appway WAR file. In other cases, contact Appway Support to request a license file.
Copy the license file to <data-home>/conf/license.properties.
Start Appway and open the Appway Studio in an internet browser by appending /admin to the context path:
http://SERVER_NAME:PORT/{ CONTEXT_PATH }/admin
Example URL:
http://solution.numcom.com/admin
- SERVER_NAME = solution.numcom.com
- PORT = 80
- { CONTEXT_PATH } = '' (empty)
Log in with a user in the "Administrator" role. If you cannot log into the Studio, check whether your authentication and authorization provider is configured correctly.
The basic installation is now finished. If you can see the login screen for accessing the Appway Studio and are able to log in with an Administrator user, it is successful.
To install Appway as a cluster:
- Install it on each node in the cluster as for a single-node installation.
- Prepare a shared storage location as Cluster Storage. On a file system, this means creating a single shared folder used by all the nodes. For nodes running on the same OS it can be a regular folder, for nodes running on different OSs, the folder needs to be a shared network file system mounted on all nodes.
- Configure each node's Data Home to work in a cluster setting.
- Start all nodes to verify that the installation is successful.
Install Appway on every node in the cluster. For each node, follow the set-up instructions in Install Appway on a Single Node.
Make sure that all nodes have the same software installed:
- Java Runtime Environment (vendor and version)
- Appway (version and configurations)
- Appway extensions (if applicable)
- Appway license file (specifies the number of nodes allowed in the cluster).
Appway stores data in two locations: the Data Home and the Cluster Storage. While the Data Home contains configuration files and extensions, Cluster Storage contains the model for Appway apps and active process data. For example, Cluster Storage includes business objects, active process instances, cluster files, and log statements.
A single-node Appway installation has one Data Home directory on a local file system. By default, the Cluster Storage folder is located within this Data Home. For multi-node installations, each node has one Data Home on its local file system, and there is one single Cluster Storage shared among all nodes. The Cluster Storage can be configured to store data in a shared file system, a relational database or an Apache Cassandra database.
| | Data Home | Cluster Storage |
| Content | - Configuration files
- Extensions
| - Business Objects repository
- Active Process instances / Value Stores
- Cluster files
- etc.
|
| Single-node installation | One Data Home per Appway instance Default location:
<Local file system>/data/ | One Cluster Storage per Appway instance Default location:
<Local file system>/data/cluster |
| Multi-node installation | One Data Home per node Default location:
<Local file system>/data/ | One Cluster Storage per Appway instance (means: one shared Cluster Storage for all nodes) Possible locations:
- Shared file system (mounted NFS drive, Windows share, etc.)
- Relational database
- Apache Cassandra database
|
This chapter explains how to install Appway using a shared file system as Cluster Storage. For alternative shared storage strategies, see Using an Apache Cassandra Database, or Using a Relational Database.
To set up a single Cluster Storage directory for multiple nodes, create a folder anywhere on a shared file system. For example, use a mounted NFS drive or a Windows share.
This folder must be accessible from all nodes in the cluster, with read and write permissions. To estimate the memory necessary, see System Installation: Technical Requirements .
Configure each node's Data Home to work in a multi-node environment. First, edit the file <data-home>/conf/conf.properties:
- Configure a different node name for each node. Set a "Test1", "Test2", or "Test3" for the property
nm.cluster.local.nodename.
nm.cluster.local.nodename = <node name>
- Configure a different UID prefix for each node. Set a value such as "test1", "test2", or "test3" for the property
nm.uid.prefix. Only lowercase characters and digits are allowed.
nm.uid.prefix = <UID prefix>
- Point each node to the shared Cluster Storage directory using the property
nm.cluster.persistence.filesystem.path. The path can be absolute or relative to Data Home.
Then, allow Hazelcast to connect to other nodes in the cluster. Appway relies on Hazelcast, an in-memory data grid, to distribute data among the nodes.
- For each node, edit the file
<data-home>/conf/hazelcast.xml. If this file doesn't exist yet, start a single-node Appway installation for the first time, and copy the automatically generated hazelcast.xml file from that installation to each node's file system in the cluster installation. - Enable TCP-IP (
<tcp-ip enabled="true">) and add the IP addresses of every other node in the cluster (<interface>10.x.y.z\</interface>). For example:
<join>
...
<tcp-ip enabled="true">
<interface>10.0.34.12</interface>
<interface>10.0.22.17</interface>
</tcp-ip>
</join>
Before starting, make sure that all nodes have:
- the same extensions installed;
- the same configuration, except for the node-specific configurations defined in Configure Data Homes.
If every node has enough memory and CPU power to start Appway by itself, send start-up commands to every application server. When the application servers start, the first among them initializes the system and the other nodes then join.
If several application servers must start at the same time, configure a minimum initial cluster size:
- Edit the Hazelcast configuration file
<data-home>/conf/hazelcast.xml. - Add the property
hazelcast.initial.min.cluster.size and a value for the minimum number of nodes necessary to start Appway.
For example, to start Appway only after four nodes have been able to connect with each other:
<properties>
...
<property name="hazelcast.initial.min.cluster.size">4</property>
</properties>
Login to the Studio by appending /admin to the application's context path, as described in Start Appway For a multi-node installation with a load balancer, point your browser to the load balancer URL and append /admin.
After successfully logging into the Studio, go to Administration > System > Overview and verify that all nodes appear.
To use an Apache Cassandra database as Cluster Storage, you need the following:
- A single-node or multi-node Appway 6 installation
- The CassandraHazelcastStore extension
- An Apache Cassandra database
Follow the installation steps in Install Appway on a Single Node and Install Appway on Multiple Nodes.
After stopping Appway (all nodes), set up a Cassandra keyspace and configure Appway to use it as Cluster Storage instead of a file system. To do so, install and configure the CassandraHazelcastStore extension.
Set up a Cassandra keyspace for Appway. For example, using CQL shell:
cqlsh> CREATE KEYSPACE appway
WITH REPLICATION = {'class' : 'SimpleStrategy', 'replication_factor': 2};
cqlsh> use appway;
cqlsh:appway> CREATE TABLE processinstances ( id ascii PRIMARY KEY, data blob);
CREATE TABLE valuestores ( id ascii PRIMARY KEY, data blob);
CREATE TABLE datahandles ( id ascii PRIMARY KEY, data blob);
CREATE TABLE businessobjects ( id ascii PRIMARY KEY, data blob);
CREATE TABLE recentlyusedlists ( id ascii PRIMARY KEY, data blob);
CREATE TABLE commits ( id ascii PRIMARY KEY, data blob);
CREATE TABLE logstatementlists ( id ascii PRIMARY KEY, data blob);
CREATE TABLE breakpoints ( id ascii PRIMARY KEY, data blob);
CREATE TABLE licenselogentries ( id ascii PRIMARY KEY, data blob);
CREATE TABLE accesslicenses ( id ascii PRIMARY KEY, data blob);
CREATE TABLE users ( id ascii PRIMARY KEY, data blob);
CREATE TABLE projectmessages ( id ascii PRIMARY KEY, data blob);
CREATE TABLE projectfiles ( id ascii PRIMARY KEY, data blob);
CREATE TABLE clusterfiles ( id ascii PRIMARY KEY, data blob);
CREATE TABLE datasourceinfos ( id ascii PRIMARY KEY, data blob);
CREATE TABLE entityindexdefinitions ( id ascii PRIMARY KEY, data blob);
CREATE TABLE mailconfigurations ( id ascii PRIMARY KEY, data blob);
CREATE TABLE workflowmessagequeues ( id ascii PRIMARY KEY, data blob);
CREATE TABLE workflowmessages ( id ascii PRIMARY KEY, data blob);
CREATE TABLE discussionmessages ( id ascii PRIMARY KEY, data blob);
CREATE TABLE chatchunks ( id ascii PRIMARY KEY, data blob);
CREATE TABLE chatchunkindexentries ( id ascii PRIMARY KEY, data blob);
CREATE TABLE notificationmessages ( id ascii PRIMARY KEY, data blob);
CREATE TABLE notificationinboxes ( id ascii PRIMARY KEY, data blob);
CREATE TABLE notificationtopics ( id ascii PRIMARY KEY, data blob);
CREATE TABLE notificationindexentries ( id ascii PRIMARY KEY, data blob);
The Cassandra Hazelcast Store extension implements a Hazelcast MapStore, using Cassandra as its backend. To install and configure it, follow the steps below:
- Put the file
CassandraHazelcastStore.jar into every Data Home's extensions directory (<data-home>/extensions). - Enable the extension to be initialized during system start-up. Edit the file
<data-home>/extensions/configuration.xml and add the following property:
...
<Adapter name=" CassandraHazelcastStore " state="2" startup="2" priority="0"/>
...
- Configure the Cassandra cluster to use. Next to the JAR file, create a text file with the name
CassandraHazelcastStore.jar.cfg containing the connection configuration.
com.nm.cluster.cassandra.seeds = <IP address(es) of Cassandra cluster>
Use localhost to connect to a local Cassandra installation. Use one or more remote IP addresses if connecting to a remote Cassandra installation.
To display a list of the configuration properties for this extension, double-click on the extension name:
com.nm.cluster.cassandra.seeds: comma-separated list of seed nodes of the Cassandra cluster (see “seeds” in "/etc/Cassandra/cassandra.yaml").com.nm.cluster.cassandra.readTimeoutMillis: read operation timeout for the Cassandra driver (default value: 12s).com.nm.cluster.cassandra.keyspace: keyspace to be used (default value: appway).com.nm.cluster.cassandra.UseAuthentication: set to true if you want to connect to Cassandra using a username/password authentication; otherwise, set to false.com.nm.cluster.cassandra.username: username to be used when connecting to the Cassandra cluster. This property is taken into account only if com.nm.cluster.cassandra.UseAuthentication is set to true.com.nm.cluster.cassandra.password: password to be used when connecting to the Cassandra cluster. This property is taken into account only if com.nm.cluster.cassandra.UseAuthentication is set to true.com.nm.cluster.cassandra.UseSSL: set to true to use SSL encryption between client(s) and server(s); otherwise, set to false.
Access to the Cassandra cluster can require authentication. The CassandraHazelcastStore extension supports this feature and the credentials used by the extension to connect to the Cassandra cluster can be provided in two different ways:
- Statically by setting the username and password in the configuration file of the extension.
To provide user credentials to the Cassandra cluster, the administrator needs to set the following properties:
com.nm.cluster.cassandra.UseAuthentication – Set this property to “true”, so that the following properties are used.com.nm.cluster.cassandra.username – Contains the username accepted by Cassandra.com.nm.cluster.cassandra.password – Contains the password accepted by Cassandra.
- Dynamically by setting an identity provider that is external to the extension to provide username and password when the extension starts.
If your Cassandra cluster uses security policies where user passwords are changed frequently, using dynamic identity configuration is recommended. The only property that needs to be configured, apart from com.nm.cluster.cassandra.UseAuthentication is:
com.nm.cluster.cassandra.identityprovider – Contains the full name of the Java class implementing the IdentityProvider interface e.g. com.client.identityprovider.ClientIdentityProvider.
How can I create an identity provider for the extension?
The definition of the IdentityProvider interface is provided to the client inside a JAR file, "IdentityProvider-x.y.jar". Use this JAR file as a library in the project that is implementing the client identity provider. The identity provider can be implemented in two different ways:
- As a simple Java project
- As an Appway extension
The "IdentityProvider" interface has only one method which needs to be implemented by developers, the signature of the method is: "public Identity getIdentity()".
The returned class "Identity" is a marker interface. The implementation of the method needs to return a class implementing "Identity". For basic authentication, the only method supported so far is "UsernamePasswordIdentity". "UsernamePasswordIdentity" is defined in the "IdentityProvider-x.y.jar" and is an immutable class where the two properties, username and password, can be set only by using the constructor. Below is an example of implementation of the interface:
package com.client.identityprovider;
import com.nm.identityprovider.Identity;
import com.nm.identityprovider.IdentityProvider;
import com.nm.identityprovider.UsernamePasswordIdentity;
public class ClientIdentityProviderImpl implements IdentityProvider {
@Override
public Identity getIdentity() {
// retrieve username and password
String username = "cassandraUsername";
String password = "cassandraPassword";
return new UsernamePasswordIdentity(username, password);
}
}
How can I deploy an identity provider?
Follow these steps:
- Include "IdentityProvider-x.y.jar" in the classpath of the application server.
- (If the identity provider is a simple Java project) Include the JAR file of this project in the classpath as well.
- (If the identity provider has been implemented as an Appway extension) The identity provider must startup before the CassandraHazelcastStore extension. To achieve this, set the priority of the identity provider in the extension configuration file to a lower value than the priority of the CassandraHazelcastStore extension.
Early during cluster start-up, Appway connects to the specified Cassandra cluster. You should see messages such as these:
2014-08-18 17:57:44,538 INFO [localhost-startStop-1] com.nm.extensions.cassandrahazelcaststore.CassandraHazelcastStoreAdapter - Connecting to Cassandra cluster: [4] [/10.0.22.14, /10.0.22.13, /10.0.22.12, /10.0.22.11]
2014-08-18 17:57:45,077 INFO [localhost-startStop-1] com.nm.extensions.cassandrahazelcaststore.CassandraHazelcastStoreAdapter - Connected to Cassandra cluster 'Appway Cluster' on [/10.0.22.14, /10.0.22.12, /10.0.22.13, /10.0.22.11].
You should also see messages specifying which Cassandra MapStore implementation is in use for a specific data type (e.g. process instances, values stores, etc.):
2014-08-18 17:57:45,336 INFO [localhost-startStop-1] com.nm.cluster.service.ClusterServiceUtils - New Hazelcast MapStore for 'processInstancesMap' configured: CassandraHazelcastStore:com.nm.extensions.cassandrahazelcaststore.CassandraProcessInstanceHzStore
2014-08-18 17:57:45,336 INFO [localhost-startStop-1] com.nm.cluster.service.ClusterServiceUtils - New Hazelcast MapStore for 'valueStoresMap' configured: CassandraHazelcastStore:com.nm.extensions.cassandrahazelcaststore.CassandraValueStoreHzStore
Most of the data now resides in the Cassandra cluster. To look at it, you can use e.g. CQL shell:
$ cqlsh <any ip address of cassandra cluster>
cqlsh> use appway;
cqlsh> describe keyspace appway;
cqlsh> select count(*) from businessobjects;
cqlsh> select id from businessobjects;
cqlsh> select id, data from businessobjects where id='xyz';
To view the plain text content, use an (online) HexDecoder.
To use a relational database as Cluster Storage, you will need the following:
- A single-node or multi-node Appway 6 installation
- The RelationalDb Hazelcast Store extension
- A relational database
The database needs to have enough space to hold all active process instances, the Business Objects repository, all cluster files, and log statements from all nodes.
In order to ensure a smooth operation, the database must be highly available. Likewise, each server node running Appway requires a reliable connection with a high bandwidth.
Appway uses the database in a key-value store fashion. Keys are Strings and values are BLOBs. The BLOBs either contain textual data (XML or JSON) or binary data.
The following formula computes the storage space necessary for the content of the Cluster Storage.
Size of Cluster Storage = (
- Size of process data (Process instances + Value Stores) in XML +
- Size of Business Object repository in XML +
- Size of all cluster files +
- Size of log statements from all nodes ) * storage encoding overhead
"Storage encoding overhead" refers to a potential BLOB encoding of the database, e.g. HEX-encoding or similar.
If you are upgrading from an existing Appway 5.3 installation, you can derive some of the values above as follows:
- Size of process data in XML: size of
<data-home>/processdata/ - Size of business object repository in XML: size of
<data-home>/repository/ - Size of log statements from all nodes: size of
<data-home>/logs/debug.log*
Follow the installation steps in Install Appway on a Single Node and Install Appway on Multiple Nodes .
After stopping Appway (all nodes), prepare a relational database and configure Appway to use it as Cluster Storage instead of a file system. To do so, install and configure the RelationalDb Hazelcast Store extension.
Contact your database administrator to set up your preferred relational database.
Example for MySQL:
- Perform a standard installation.
- Create a database.
- Execute the DDL statements in the file
ddl-statements-mysql.sql (see "Downloads" below).
Example for IBM DB2:
- Perform a standard installation
- Create a database.
- Use a page size of 32 Kilobytes
- Create 3 table spaces: tspc_data, tspc_index, tspc_long (see ddl-statements-db2.sql)
- Execute the DDL statements in the file
ddl-statements-db2.sql (see "Downloads" below).
Example for Oracle:
- Perform a standard installation.
- Create a database.
- Execute the DDL statements in the file
ddl-statements-oracle.sql (see "Downloads" below).
Example for MS SQL Server:
- Perform a standard installation
- Create a database.
- Execute the DDL statements in the file
ddl-statements-ms-sql-server.sql (see "Downloads" below).
Downloads for Appway 6.1:
Downloads for Appway 6.2 and Appway 6.3:
The RelationalDb Hazelcast Store extension implements a Hazelcast MapStore, using a relational database as its backend. To install and configure it, follow the steps below:
-
Place the file RelationalDbHazelcastStore.jar into every Data Home's extensions directory (<data-home>/extensions).
-
Decide which mode to use for connecting to the database:
- JDBC – Configure the extension with access credentials to connect directly via a JDBC driver. See step 3 for further details.
- JNDI – Configure the extension to access a JNDI resource defined in the configuration of the application server. See step 4 for further details.
-
(JDBC only) Next to the JAR file, create a text file with the name RelationalDbHazelcastStore.jar.cfg containing the connection configuration. Use the same CFG file on all nodes.
Example for MySQL:
com.nm.cluster.relationaldb.driver.name = com.mysql.jdbc.Driver
com.nm.cluster.relationaldb.state.script = select 1
com.nm.cluster.relationaldb.connection.url = jdbc:mysql://localhost/appway
com.nm.cluster.relationaldb.username = appway
com.nm.cluster.relationaldb.password = 123
Example for IBM DB2:
com.nm.cluster.relationaldb.driver.name = com.ibm.db2.jcc.DB2Driver
com.nm.cluster.relationaldb.state.script = select 1 FROM sysibm.sysdummy1
com.nm.cluster.relationaldb.connection.url = jdbc:db2://10.199.20.60:50000/APPWAY
com.nm.cluster.relationaldb.username = db2inst1
com.nm.cluster.relationaldb.password = db2inst1
Example for Oracle:
com.nm.cluster.relationaldb.driver.name = oracle.jdbc.OracleDriver
com.nm.cluster.relationaldb.state.script = select 1 from dual
com.nm.cluster.relationaldb.connection.url = jdbc:oracle:thin:@localhost:1521:appway
com.nm.cluster.relationaldb.username = C##APPWAY
com.nm.cluster.relationaldb.password = test
Example for MS SQL Server:
com.nm.cluster.relationaldb.driver.name = com.microsoft.sqlserver.jdbc.SQLServerDriver
com.nm.cluster.relationaldb.state.script = select 1
com.nm.cluster.relationaldb.connection.url = jdbc:sqlserver://10.0.20.5:1433;databaseName=smith
com.nm.cluster.relationaldb.username = smith
com.nm.cluster.relationaldb.password = 12345
-
(JNDI only) Next to the JAR file, create a text file with the name RelationalDbHazelcastStore.jar.cfg containing the connection configuration. Use the same CFG file on all nodes.
Example:
com.nm.cluster.relationaldb.jndi.enabled = true
com.nm.cluster.relationaldb.jndi.path = resources/dbConnectionFactory
The value defined for the jndi.path parameter must match the JNDI name configured on the application server.
To ensure the RelationalDBHazelcastStore extension runs correctly with JNDI, set the JNDI connection pool to a minimum of 50 connections.
-
Enable the extension to be initialized during system start-up. Edit the file <data-home>/extensions/configuration.xml and add the following property:
...
<Adapter name="RelationalDbHazelcastStore" state="2" startup="2" priority="0"/>
...
To stop Appway, send shutdown commands to the application server (or to each application server in a cluster).
If there are several Appway nodes, these communicate with each other to ensure that each one stops in turn.
If you want to stop all nodes at the same time, publish a cluster shutdown command through the REST service: /rest/cluster/shutdown.