KB-1850 Null component error when using XA database
| This issue has been resolved in an Appian hotfix/new Appian version. Please apply the latest hotfix to your Appian installation or upgrade to the latest version of Appian. |
Symptoms
When using Tomcat as the application server and a database and/or driver configured for XA transactions, the following error is seen in the application server log:
SEVERE [localhost-startStop-1] org.apache.tomcat.util.modeler.Registry.registerComponent Null component Catalina:type=DataSource,host=localhost,context=/suite,class=javax.sql.XADataSource,name="jdbc/AppianPrimaryDS"
Cause
This issue has been addressed via AN-123225 in the following versions/hotfixes:
Action
Apply the latest hotfix to your Appian installation or upgrade to the latest version of Appian.
Workaround
Use factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" when you specify the XADatasouce in tomcatResources.xml as shown in the Configuring Relational Databases documentation.
Note: This requires the password to be placed in the file in cleartext.
Affected Versions
This article applies to Appian 18.3 and 18.4.
Last reviewed: January 2019
