When starting the application server, the following is printed towards the beginning of application server log:
WARNING [main] org.apache.catalina.startup.Catalina.load Catalina.start using conf/server.xml: java.io.UnsupportedEncodingException: UTF-XX
Caused by: com.ctc.wstx.exc.WstxIOException: Unsupported encoding: XXXXX
The application server then fails to deploy.
This "Caused by" message is printed out when one of the application server configuration files has been modified to an unsupported encoding mechanism. By default, encoding is set to UTF-8.
The opening line encoding ="UTF-8" of the server.xml file was changed. This file is located in <APPIAN_HOME>/tomcat/apace-tomcat/conf directory.
<APPIAN_HOME>/tomcat/apace-tomcat/conf
The two following examples are results of using faulty configuration files:
ERROR [org.jboss.as.server] (Controller Boot Thread) JBAS015956: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration ... Caused by: com.ctc.wstx.exc.WstxIOException: Unsupported encoding: XXXXX
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."appian-ds.xml".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."appian-ds.xml".PARSE: JBAS018733: Failed to process phase PARSE of deployment "appian-mysql-ds.xml" ... Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Unsupported encoding: XXXXX ... Caused by: com.ctc.wstx.exc.WstxIOException: Unsupported encoding: XXXXX
In both examples above, the opening line encoding="UTF-8"? of the configuration files was changed. For reference, standalone.xml can be found under <JBOSS_HOME>/standalone/configuration and appian-ds.xml under <JBOSS_HOME>/standalone/deployments.
encoding="UTF-8"?
<JBOSS_HOME>/standalone/configuration
<JBOSS_HOME>/standalone/deployments
Locate the problematic configuration file and change the encoding to UTF-8.
This article applies to all versions of Appian.
Last Reviewed: November 2017