KB-1693 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:
- The hotfix contents were not extracted directly under
<APPIAN_HOME>, which means the deleteFiles.bat|sh script is not present directly under<APPIAN_HOME>. - The hotfix contents were extracted under
<APPIAN_HOME>, but the working directory in which the script is executed is not<APPIAN_HOME>. - The user running the script does not have the permissions to delete the files in
<APPIAN_HOME>.
Action
Perform one of the following actions depending on the cause:
- Move the deleteFiles.bat|sh script to the
<APPIAN_HOME>directory. - Navigate to
<APPIAN_HOME>and then execute the deleteFiles.bat|sh script. - Update the user permissions and run the script again.
Affected Versions
This article applies to all versions of Appian.
Last Reviewed: September 2018
