You are currently reviewing an older revision of this page.

DRAFT KB-XXXX JBoss fails to deploy Appian with "NoSuchMethodError" after deploying a Hotfix

Symptoms

After deploying a hotfix, JBoss fails with an error of the following type:

ERROR com.appiancorp.ix.diagnostics.Diagnostics - content SYSTEM_SYSRULES_util_showDialogOrPromptDialog 123471 The content [SYSTEM_SYSRULES_util_showDialogOrPromptDialog]/[123471] could not be transported. Cause: java.lang.NoSuchMethodError
.
.
Caused by: java.lang.NoSuchMethodError: com.appiancorp.core.expr.Lex.getTokens()Lcom/appiancorp/core/expr/TokenList

However, when the hotfix application is reverted, JBoss starts up as expected.

Upon further troubleshooting, it is determined that the deleteFiles.bat|sh shipped with the hotfix is unable to delete JAR files present in <APPIAN_HOME> directory, causing a class conflict issue.

Cause

The issue is caused by one of the following:

  1. The hotfix contents were not extracted directly under <APPIAN_HOME>, which means the deleteFiles.bat|sh script is not present directly under <APPIAN_HOME>.
  2. The hotfix contents were extracted under <APPIAN_HOME>, but the working directory in which the script is executed is not <APPIAN_HOME>

Action

Perform one of the following actions depending on the cause:

  1. Move the deleteFiles.bat|sh script to the <APPIAN_HOME> directory.
  2. Navigate to <APPIAN_HOME> and then execute the deleteFiles.bat|sh script.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: August 2018