<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-2273 Tomcat fails to start after migrating the primary database from MySQL to MariaDB</title><link>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-2273 Tomcat fails to start after migrating the primary database from MySQL to MariaDB</title><link>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb</link><pubDate>Wed, 29 Nov 2023 19:22:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a460cd87-a42b-4d52-9262-d41302e10069</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb#comments</comments><description>Current Revision posted to Appian Knowledge Base by pauline.delacruz on 11/29/2023 7:22:06 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After migrating the primary database from MySQL to MariaDB, the application server fails to start with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;The following error is&amp;nbsp;found&amp;nbsp;in &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;:&lt;br /&gt;&lt;/span&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled"&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DDTHH:MM:SS.sssZ&lt;/span&gt; [main] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup&lt;br /&gt;com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.filterChains&amp;#39;: Cannot resolve reference to bean &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39; while setting bean property &amp;#39;sourceList&amp;#39; with key [66]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39;: Cannot resolve reference to bean &amp;#39;mobileClientValidationFilter&amp;#39; while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;mobileClientValidationFilter&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is &lt;br /&gt;java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration. &lt;br /&gt;...&lt;br /&gt;Caused by: liquibase.exception.ValidationFailedException: Validation Failed:&lt;br /&gt; [number] changesets check sum&lt;/pre&gt;
&lt;/div&gt;
&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This is a known issue with checksums when moving the primary database for MySQL to MariaDB.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;To resolve the issue, the checksum column will need to be manually reset.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stop the application server if not already done.&lt;/li&gt;
&lt;li&gt;Back up the DATABASECHANGELOG table in the Appian Primary schema.
&lt;pre&gt;CREATE TABLE DATABASECHANGELOG_BACKUP AS
  SELECT * FROM DATABASECHANGELOG;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Null out the checksums in the DATABASECHANGELOG table:
&lt;pre&gt;UPDATE DATABASECHANGELOG set MD5SUM=NULL;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Start the application server and see if there are any issues.&lt;/li&gt;
&lt;li&gt;Drop the backup after everything is verified to be up and running.
&lt;pre&gt;DROP TABLE DATABASECHANGELOG_BACKUP;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;November 2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, mariadb, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8946] KB-XXXX Tomcat fails to start after migrating the primary database from MySQL to MariaDB</title><link>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb/revision/11</link><pubDate>Wed, 04 Oct 2023 18:51:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a460cd87-a42b-4d52-9262-d41302e10069</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb#comments</comments><description>Revision 11 posted to Appian Knowledge Base by pauline.delacruz on 10/4/2023 6:51:43 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After migrating the primary database from MySQL to MariaDB, the application server fails to start with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;The following error is&amp;nbsp;found&amp;nbsp;in &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;:&lt;br /&gt;&lt;/span&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled"&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DDTHH:MM:SS.sssZ&lt;/span&gt; [main] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup&lt;br /&gt;com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.filterChains&amp;#39;: Cannot resolve reference to bean &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39; while setting bean property &amp;#39;sourceList&amp;#39; with key [66]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39;: Cannot resolve reference to bean &amp;#39;mobileClientValidationFilter&amp;#39; while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;mobileClientValidationFilter&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is &lt;br /&gt;java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration. &lt;br /&gt;...&lt;br /&gt;Caused by: liquibase.exception.ValidationFailedException: Validation Failed:&lt;br /&gt; [number] changesets check sum&lt;/pre&gt;
&lt;/div&gt;
&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This is a known issue with checksums when moving the primary database for MySQL to MariaDB.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;To resolve the issue, the checksum column will need to be manually reset.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stop the application server if not already done.&lt;/li&gt;
&lt;li&gt;Back up the DATABASECHANGELOG table in the Appian Primary schema.
&lt;pre&gt;CREATE TABLE DATABASECHANGELOG_BACKUP AS
  SELECT * FROM DATABASECHANGELOG;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Null out the checksums in the DATABASECHANGELOG table:
&lt;pre&gt;UPDATE DATABASECHANGELOG set MD5SUM=NULL;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Start the application server and see if there are any issues.&lt;/li&gt;
&lt;li&gt;Drop the backup after everything is verified to be up and running.
&lt;pre&gt;DROP TABLE DATABASECHANGELOG_BACKUP;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: October 2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, mariadb, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8946] KB-XXXX Tomcat fails to start after migrating the primary database from MySQL to MariaDB</title><link>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb/revision/10</link><pubDate>Wed, 04 Oct 2023 18:49:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a460cd87-a42b-4d52-9262-d41302e10069</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb#comments</comments><description>Revision 10 posted to Appian Knowledge Base by pauline.delacruz on 10/4/2023 6:49:40 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After migrating the primary database from MySQL to MariaDB, the application server fails to start with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;The following error is&amp;nbsp;found&amp;nbsp;in &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;:&lt;br /&gt;&lt;/span&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled"&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DDTHH:MM:SS.sssZ&lt;/span&gt; [main] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup&lt;br /&gt;com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.filterChains&amp;#39;: Cannot resolve reference to bean &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39; while setting bean property &amp;#39;sourceList&amp;#39; with key [66]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39;: Cannot resolve reference to bean &amp;#39;mobileClientValidationFilter&amp;#39; while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;mobileClientValidationFilter&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is &lt;br /&gt;java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration. &lt;br /&gt;...&lt;br /&gt;Caused by: liquibase.exception.ValidationFailedException: Validation Failed:&lt;br /&gt; [number] changesets check sum&lt;/pre&gt;
&lt;/div&gt;
&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This is a known issue with checksums when moving the primary database for MySQL to MariaDB.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;To resolve the issue, the checksum column will need to be manually reset.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Stop&lt;/a&gt; the application server if not already done.&lt;/li&gt;
&lt;li&gt;Back up the DATABASECHANGELOG table in the Appian Primary schema.
&lt;pre&gt;CREATE TABLE DATABASECHANGELOG_BACKUP AS
  SELECT * FROM DATABASECHANGELOG;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Null out the checksums in the DATABASECHANGELOG table:
&lt;pre&gt;UPDATE DATABASECHANGELOG set MD5SUM=NULL;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt; the application server and see if there are any issues.&lt;/li&gt;
&lt;li&gt;Drop the backup after everything is verified to be up and running.
&lt;pre&gt;DROP TABLE DATABASECHANGELOG_BACKUP;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: October 2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, mariadb, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8946] KB-XXXX Tomcat fails to start after migrating the primary database from MySQL to MariaDB</title><link>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb/revision/9</link><pubDate>Wed, 04 Oct 2023 18:48:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a460cd87-a42b-4d52-9262-d41302e10069</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb#comments</comments><description>Revision 9 posted to Appian Knowledge Base by pauline.delacruz on 10/4/2023 6:48:43 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After migrating the primary database from MySQL to MariaDB, the application server fails to start with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;The following error is&amp;nbsp;found&amp;nbsp;in &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;:&lt;br /&gt;&lt;/span&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled"&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DDTHH:MM:SS.sssZ&lt;/span&gt; [main] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup&lt;br /&gt;com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.filterChains&amp;#39;: Cannot resolve reference to bean &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39; while setting bean property &amp;#39;sourceList&amp;#39; with key [66]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39;: Cannot resolve reference to bean &amp;#39;mobileClientValidationFilter&amp;#39; while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;mobileClientValidationFilter&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is &lt;br /&gt;java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration. &lt;br /&gt;...&lt;br /&gt;Caused by: liquibase.exception.ValidationFailedException: Validation Failed:&lt;br /&gt; [number] changesets check sum&lt;/pre&gt;
&lt;/div&gt;
&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This is a known issue with checksums when moving the primary database for MySQL to MariaDB.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;h3&gt;Self-Managed&lt;/h3&gt;
&lt;p&gt;To resolve the issue, the checksum column will need to be manually reset.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Stop&lt;/a&gt; the application server if not already done.&lt;/li&gt;
&lt;li&gt;Back up the DATABASECHANGELOG table in the Appian Primary schema.
&lt;pre&gt;CREATE TABLE DATABASECHANGELOG_BACKUP AS
  SELECT * FROM DATABASECHANGELOG;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Null out the checksums in the DATABASECHANGELOG table:
&lt;pre&gt;UPDATE DATABASECHANGELOG set MD5SUM=NULL;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt; the application server and see if there are any issues.&lt;/li&gt;
&lt;li&gt;Drop the backup after everything is verified to be up and running.
&lt;pre&gt;DROP TABLE DATABASECHANGELOG_BACKUP;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;Cloud&lt;/h3&gt;
&lt;p&gt;No action is needed as your site will&lt;span&gt;&amp;nbsp;automatically take care of nulling out checksums to avoid this issue.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: October 2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, mariadb, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8946] KB-XXXX Tomcat fails to start after migrating the primary db from MySQL to MariaDB</title><link>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb/revision/8</link><pubDate>Wed, 04 Oct 2023 18:38:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a460cd87-a42b-4d52-9262-d41302e10069</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb#comments</comments><description>Revision 8 posted to Appian Knowledge Base by pauline.delacruz on 10/4/2023 6:38:58 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After migrating the primary database from MySQL to MariaDB, the application server fails to start with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;The following error is&amp;nbsp;found&amp;nbsp;in &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;:&lt;br /&gt;&lt;/span&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled"&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DDTHH:MM:SS.sssZ&lt;/span&gt; [main] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup&lt;br /&gt;com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.filterChains&amp;#39;: Cannot resolve reference to bean &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39; while setting bean property &amp;#39;sourceList&amp;#39; with key [66]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39;: Cannot resolve reference to bean &amp;#39;mobileClientValidationFilter&amp;#39; while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;mobileClientValidationFilter&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is &lt;br /&gt;java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration. &lt;br /&gt;...&lt;br /&gt;Caused by: liquibase.exception.ValidationFailedException: Validation Failed:&lt;br /&gt; [number] changesets check sum&lt;/pre&gt;
&lt;/div&gt;
&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This is a known issue with checksums when moving the database for MySQL to MariaDB. For cloud customers, we automatically take care of nulling out checksums to avoid this issue. On-premise customers will need to manually reset the checksum column.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Stop&lt;/a&gt; the application server if not already done.&lt;/li&gt;
&lt;li&gt;Back up the DATABASECHANGELOG table in the Appian Primary schema.
&lt;pre&gt;CREATE TABLE DATABASECHANGELOG_BACKUP AS
  SELECT * FROM DATABASECHANGELOG;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Null out the checksums in the DATABASECHANGELOG table:
&lt;pre&gt;UPDATE DATABASECHANGELOG set MD5SUM=NULL;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt; the application server and see if there are any issues.&lt;/li&gt;
&lt;li&gt;Drop the backup after everything is verified to be up and running.
&lt;pre&gt;DROP TABLE DATABASECHANGELOG_BACKUP;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: October 2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, mariadb, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8946] KB-XXXX Tomcat fails to start after migrating the primary db from MySQL to MariaDB</title><link>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb/revision/7</link><pubDate>Tue, 03 Oct 2023 21:58:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a460cd87-a42b-4d52-9262-d41302e10069</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb#comments</comments><description>Revision 7 posted to Appian Knowledge Base by pauline.delacruz on 10/3/2023 9:58:33 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After migrating the primary database from MySQL to MariaDB, the application server fails to start with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;The following error is&amp;nbsp;found&amp;nbsp;in &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;:&lt;br /&gt;&lt;/span&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled"&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DDTHH:MM:SS.sssZ&lt;/span&gt; [main] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup&lt;br /&gt;com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.filterChains&amp;#39;: Cannot resolve reference to bean &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39; while setting bean property &amp;#39;sourceList&amp;#39; with key [66]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39;: Cannot resolve reference to bean &amp;#39;mobileClientValidationFilter&amp;#39; while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;mobileClientValidationFilter&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is &lt;br /&gt;java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration. &lt;br /&gt;...&lt;br /&gt;Caused by: liquibase.exception.ValidationFailedException: Validation Failed:&lt;br /&gt; [number] changesets check sum&lt;/pre&gt;
&lt;/div&gt;
&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This is a known issue with checksums when moving the database for MySQL to MariaDB.&lt;/p&gt;
&lt;p&gt;For cloud customers, we automatically take care of nulling out checksums to avoid this issue.&lt;/p&gt;
&lt;p&gt;On-premise customers will need to manually reset the checksum column.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Stop&lt;/a&gt; the application server if not already done.&lt;/li&gt;
&lt;li&gt;Back up the DATABASECHANGELOG table in the Appian Primary schema.
&lt;pre&gt;CREATE TABLE DATABASECHANGELOG_BACKUP AS
  SELECT * FROM DATABASECHANGELOG;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Null out the checksums in the DATABASECHANGELOG table:
&lt;pre&gt;UPDATE DATABASECHANGELOG set MD5SUM=NULL;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt; the application server and see if there are any issues.&lt;/li&gt;
&lt;li&gt;Drop the backup after everything is verified to be up and running.
&lt;pre&gt;DROP TABLE DATABASECHANGELOG_BACKUP;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: October 2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, mariadb, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8946] KB-XXXX Tomcat fails to start after migrating primary db from mysql to mariadb</title><link>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb/revision/6</link><pubDate>Tue, 03 Oct 2023 17:17:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a460cd87-a42b-4d52-9262-d41302e10069</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb#comments</comments><description>Revision 6 posted to Appian Knowledge Base by pauline.delacruz on 10/3/2023 5:17:09 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After migrating the primary database from MySQL to MariaDB, the application server fails to start with the following errors:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;The following error is&amp;nbsp;found&amp;nbsp;in &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;:&lt;br /&gt;&lt;/span&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled"&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DDTHH:MM:SS.sssZ&lt;/span&gt; [main] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup&lt;br /&gt;com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.filterChains&amp;#39;: Cannot resolve reference to bean &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39; while setting bean property &amp;#39;sourceList&amp;#39; with key [66]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39;: Cannot resolve reference to bean &amp;#39;mobileClientValidationFilter&amp;#39; while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;mobileClientValidationFilter&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is &lt;br /&gt;java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration. &lt;br /&gt;...&lt;br /&gt;Caused by: liquibase.exception.ValidationFailedException: Validation Failed:&lt;br /&gt; [number] changesets check sum&lt;/pre&gt;
&lt;/div&gt;
&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This is a known issue with checksums when moving the database for MySQL to MariaDB. For cloud customers, we automatically take care of nulling out checksums to avoid this issue. On-premise customers will need to manually reset the checksum column.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#stopping-the-application-suite-on-linux"&gt;Stop&lt;/a&gt; the application server if not already done.&lt;/li&gt;
&lt;li&gt;Back up the DATABASECHANGELOG table in the Appian Primary schema.
&lt;pre&gt;CREATE TABLE DATABASECHANGELOG_BACKUP AS
  SELECT * FROM DATABASECHANGELOG;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Null out the checksums in the DATABASECHANGELOG table:
&lt;pre&gt;UPDATE DATABASECHANGELOG set MD5SUM=NULL;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html#starting-the-application-suite-on-linux"&gt;Start&lt;/a&gt; the application server and see if there are any issues.&lt;/li&gt;
&lt;li&gt;Drop the backup after everything is verified to be up and running.
&lt;pre&gt;DROP TABLE DATABASECHANGELOG_BACKUP;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: October 2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, mariadb, infrastructure&lt;/div&gt;
</description></item><item><title>[DRAFT SP-8946] KB-XXXX Tomcat fails to start after migrating primary db from mysql to mariadb</title><link>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb/revision/5</link><pubDate>Thu, 14 Sep 2023 14:40:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a460cd87-a42b-4d52-9262-d41302e10069</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb#comments</comments><description>Revision 5 posted to Appian Knowledge Base by pauline.delacruz on 9/14/2023 2:40:48 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After migrating the primary database from MySQL to MariaDB, the application server fails to start with the following errors:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;The following error is&amp;nbsp;found&amp;nbsp;in tomcat-stdOut.log:&lt;br /&gt;&lt;/span&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled"&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DDTHH:MM:SS.sssZ&lt;/span&gt; [main] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup&lt;br /&gt;com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.filterChains&amp;#39;: Cannot resolve reference to bean &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39; while setting bean property &amp;#39;sourceList&amp;#39; with key [66]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39;: Cannot resolve reference to bean &amp;#39;mobileClientValidationFilter&amp;#39; while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;mobileClientValidationFilter&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is &lt;br /&gt;java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration. &lt;br /&gt;...&lt;br /&gt;Caused by: liquibase.exception.ValidationFailedException: Validation Failed:&lt;br /&gt; [number] changesets check sum&lt;/pre&gt;
&lt;/div&gt;
&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This is a known issue with checksums when moving the database for MySQL to MariaDB. For cloud customers, we automatically take care of nulling out checksums to avoid this issue. On-premise customers would need to manually reset the checksum column.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Shut down app server if not already done.&lt;/li&gt;
&lt;li&gt;Back up the DATABASECHANGELOG table in the Appian Primary schema
&lt;pre&gt;CREATE TABLE DATABASECHANGELOG_BACKUP AS
  SELECT * FROM DATABASECHANGELOG;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Null out the checksums in the DATABASECHANGELOG table:
&lt;pre&gt;UPDATE DATABASECHANGELOG set MD5SUM=NULL;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Try to start up webapp and see if there are any issues&lt;/li&gt;
&lt;li&gt;Drop the backup once everything is verified
&lt;pre&gt;DROP TABLE DATABASECHANGELOG_BACKUP;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;September&amp;nbsp;2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, mariadb, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-SP-8946 Tomcat fails to start after migrating primary db from mysql to mariadb</title><link>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb/revision/4</link><pubDate>Wed, 23 Aug 2023 21:28:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a460cd87-a42b-4d52-9262-d41302e10069</guid><dc:creator>Yiyi Tao</dc:creator><comments>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Yiyi Tao on 8/23/2023 9:28:29 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After migrating the primary database from MySQL to MariaDB, application server fails to start with the following errors:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;The following error is&amp;nbsp;found&amp;nbsp;in tomcat-stdOut.log:&lt;br /&gt;&lt;/span&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled"&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DDTHH:MM:SS.sssZ&lt;/span&gt; [main] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup&lt;br /&gt;com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.filterChains&amp;#39;: Cannot resolve reference to bean &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39; while setting bean property &amp;#39;sourceList&amp;#39; with key [66]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39;: Cannot resolve reference to bean &amp;#39;mobileClientValidationFilter&amp;#39; while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;mobileClientValidationFilter&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is &lt;br /&gt;java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration. &lt;br /&gt;...&lt;br /&gt;Caused by: liquibase.exception.ValidationFailedException: Validation Failed:&lt;br /&gt; [number] changesets check sum&lt;/pre&gt;
&lt;/div&gt;
&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This is a known issue with checksums when moving the database for MySQL to MariaDB. For cloud customers, we automatically take care of nulling out checksums to avoid this issue. On-prem customers would need to manually reset the checksum column.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Shut down app server if not already done&lt;/li&gt;
&lt;li&gt;Back up the DATABASECHANGELOG table in the Appian Primary schema
&lt;pre&gt;CREATE TABLE DATABASECHANGELOG_BACKUP AS
  SELECT * FROM DATABASECHANGELOG;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Null out the checksums in the DATABASECHANGELOG table:
&lt;pre&gt;UPDATE DATABASECHANGELOG set MD5SUM=NULL;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Try to start up webapp and see if there are any issues&lt;/li&gt;
&lt;li&gt;Drop the backup once everything is verified
&lt;pre&gt;DROP TABLE DATABASECHANGELOG_BACKUP;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;August 2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, mariadb, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-SP-8946 Tomcat fails to start after migrating primary db from mysql to mariadb</title><link>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb/revision/3</link><pubDate>Wed, 23 Aug 2023 21:28:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a460cd87-a42b-4d52-9262-d41302e10069</guid><dc:creator>Yiyi Tao</dc:creator><comments>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Yiyi Tao on 8/23/2023 9:28:14 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After migrating the primary database from MySQL to MariaDB, application server fails to start with the following errors:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;The following error is&amp;nbsp;found&amp;nbsp;in tomcat-stdOut.log:&lt;br /&gt;&lt;/span&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled"&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DDTHH:MM:SS.sssZ&lt;/span&gt; [main] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup&lt;br /&gt;com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.filterChains&amp;#39;: Cannot resolve reference to bean &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39; while setting bean property &amp;#39;sourceList&amp;#39; with key [66]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39;: Cannot resolve reference to bean &amp;#39;mobileClientValidationFilter&amp;#39; while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;mobileClientValidationFilter&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is &lt;br /&gt;java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration. &lt;br /&gt;...&lt;br /&gt;Caused by: liquibase.exception.ValidationFailedException: Validation Failed:&lt;br /&gt; [number] changesets check sum&lt;/pre&gt;
&lt;/div&gt;
&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This is a known issue with checksums when moving the database for MySQL to MariaDB. For cloud customers, we automatically take care of nulling out checksums to avoid this issue. On-prem customers would need to manually reset the checksum column.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Shut down app server if not already done&lt;/li&gt;
&lt;li&gt;Back up the DATABASECHANGELOG table in the Appian Primary schema:
&lt;pre&gt;CREATE TABLE DATABASECHANGELOG_BACKUP AS
  SELECT * FROM DATABASECHANGELOG;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Null out the checksums in the DATABASECHANGELOG table:
&lt;pre&gt;UPDATE DATABASECHANGELOG set MD5SUM=NULL;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Try to start up webapp and see if there are any issues&lt;/li&gt;
&lt;li&gt;Drop the backup once everything is verified
&lt;pre&gt;DROP TABLE DATABASECHANGELOG_BACKUP;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;August 2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, mariadb, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-SP-8946 Tomcat fails to start after migrating primary db from mysql to mariadb</title><link>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb/revision/2</link><pubDate>Wed, 23 Aug 2023 21:15:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a460cd87-a42b-4d52-9262-d41302e10069</guid><dc:creator>Yiyi Tao</dc:creator><comments>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Yiyi Tao on 8/23/2023 9:15:15 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After migrating the primary database from MySQL to MariaDB, application server fails to start with the following errors:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;The following error is&amp;nbsp;found&amp;nbsp;in tomcat-stdOut.log:&lt;br /&gt;&lt;/span&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled"&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DDTHH:MM:SS.sssZ&lt;/span&gt; [main] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup&lt;br /&gt;com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.filterChains&amp;#39;: Cannot resolve reference to bean &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39; while setting bean property &amp;#39;sourceList&amp;#39; with key [66]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39;: Cannot resolve reference to bean &amp;#39;mobileClientValidationFilter&amp;#39; while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;mobileClientValidationFilter&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is &lt;br /&gt;java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration. &lt;br /&gt;...&lt;br /&gt;Caused by: liquibase.exception.ValidationFailedException: Validation Failed:&lt;br /&gt; [number] changesets check sum&lt;/pre&gt;
&lt;/div&gt;
&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This is a known issue with checksums when moving the database for MySQL to MariaDB. For cloud customers, we automatically take care of nulling out checksums to avoid this issue. On-prem customers would need to manually reset the checksum column.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Shut down app server if not already done&lt;/li&gt;
&lt;li&gt;Back up the DATABASECHANGELOG table in the Appian Primary schema:&lt;/li&gt;
&lt;li&gt;
&lt;pre&gt;CREATE TABLE DATABASECHANGELOG_BACKUP AS
  SELECT * FROM DATABASECHANGELOG;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;August 2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, mariadb, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-SP-8946 Tomcat fails to start after migrating primary db from mysql to mariadb</title><link>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb/revision/1</link><pubDate>Tue, 15 Aug 2023 22:01:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a460cd87-a42b-4d52-9262-d41302e10069</guid><dc:creator>Yiyi Tao</dc:creator><comments>https://community.appian.com/support/w/kb/3229/kb-2273-tomcat-fails-to-start-after-migrating-the-primary-database-from-mysql-to-mariadb#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Yiyi Tao on 8/15/2023 10:01:46 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After migrating the primary database from MySQL to MariaDB, application server fails to start with the following errors:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;The following error is&amp;nbsp;found&amp;nbsp;in tomcat-stdOut.log:&lt;br /&gt;&lt;/span&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled"&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DDTHH:MM:SS.sssZ&lt;/span&gt; [main] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Halting JVM startup&lt;br /&gt;com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.filterChains&amp;#39;: Cannot resolve reference to bean &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39; while setting bean property &amp;#39;sourceList&amp;#39; with key [66]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;org.springframework.security.web.DefaultSecurityFilterChain#66&amp;#39;: Cannot resolve reference to bean &amp;#39;mobileClientValidationFilter&amp;#39; while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;mobileClientValidationFilter&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Cannot resolve reference to bean &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;httpBasicAuthenticationEntryPoint&amp;#39; defined in ServletContext resource [/WEB-INF/conf/security/spring-security-05-web-api.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.security.auth.HttpBasicAuthenticationEntryPoint]: Constructor threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is &lt;br /&gt;java.lang.IllegalStateException: [jdbc/AppianPrimaryDS] Error during schema migration. &lt;br /&gt;...&lt;br /&gt;Caused by: liquibase.exception.ValidationFailedException: Validation Failed:&lt;br /&gt; [number] changesets check sum&lt;/pre&gt;
&lt;/div&gt;
&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This is a known issue with checksums when moving the database for MySQL to MariaDB. For cloud customers, we automatically take care of nulling out checksums to avoid this issue. On-prem customers would need to manually reset the checksum column.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;August 2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, mariadb, infrastructure&lt;/div&gt;
</description></item></channel></rss>