KB-1560 "loadMetric.threshold has type STRING rather than NUMBER" causes Service Manager startup to fail

Symptoms

When starting the Appian services, the startup stalls at "Waiting for Service Manager to launch," and the following exception appears in the <APPIAN_HOME>/logs/service_manager.log file:

ERROR com.appian.komodo.Bootstrap - Uncaught error in thread. com.typesafe.config.ConfigException$WrongType:<APPIAN_HOME>/conf/custom.properties: transaction has type STRING rather than NUMBER

A specific "Caused by:" statement for this error is shown below:

Caused by: com.typesafe.config.ConfigException$WrongType: <APPIAN_HOME>/ear/suite.ear/conf/custom.properties: loadMetric.threshold has type STRING rather than NUMBER

Cause

Service Manager has encountered an unexpected property value in the custom.properties file located at <APPIAN_HOME>/conf/. Specifically, a property listed in custom.properties is set equal to a value that is being read as a string rather than a number.

In the example above, the server.conf.processcommon.MAX_EXEC_ENGINE_LOAD_METRIC property listed in custom.properties is set equal to a value that is being read as a string rather than a number. More information about this setting can be found in the Configuring the Process Engine Servers documentation.

Action

Review the custom.properties file to ensure all properties have expected values and that there are no unexpected trailing characters appending the properties. 

For the example above, ensure that the server.conf.processcommon.MAX_EXEC_ENGINE_LOAD_METRIC property listed in custom.properties is set equal to an integer value.

Affected Versions

This article applies to Appian 17.3 and later.

Last Reviewed: January 2019

Related
Recommended