<?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-1105 "No value configured for conf.data.APPIAN_DATA_SOURCE in custom.properties" error thrown during application server startup</title><link>https://community.appian.com/support/w/kb/328/kb-1105-no-value-configured-for-conf-data-appian_5f00_data_5f00_source-in-custom-properties-error-thrown-during-application-server-startup</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1105 "No value configured for conf.data.APPIAN_DATA_SOURCE in custom.properties" error thrown during application server startup</title><link>https://community.appian.com/support/w/kb/328/kb-1105-no-value-configured-for-conf-data-appian_5f00_data_5f00_source-in-custom-properties-error-thrown-during-application-server-startup</link><pubDate>Wed, 22 Feb 2017 22:47:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d6a6f906-ef1d-4abb-b050-68d85ad6453f</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/328/kb-1105-no-value-configured-for-conf-data-appian_5f00_data_5f00_source-in-custom-properties-error-thrown-during-application-server-startup#comments</comments><description>Current Revision posted to Appian Knowledge Base by Nick Vigilante on 2/22/2017 10:47:47 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Upon upgrading&amp;nbsp;to or installing Appian 16.1, the application server log displays the following error:&lt;/p&gt;
&lt;pre&gt;ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/suite]] (ServerService Thread Pool -- 57) JBWEB000287: Exception sending context initialized event to listener instance of class com.appiancorp.common.config.ConfigurationLoader: com.appiancorp.common.config.FatalConfigurationException: com.appiancorp.suiteapi.common.exceptions.AppianException: An unexpected error occurred while trying to initialize and validate the Appian data source. (APNX-1-4179-004)
(...)
Caused by: com.appiancorp.rdbms.config.PrimaryDataSourceNotConfiguredException: com.appiancorp.suiteapi.common.exceptions.AppianException: FATAL: No value configured for conf.data.APPIAN_DATA_SOURCE in custom.properties. An Appian datasource is required. The Appian application will fail to deploy. (APNX-1-4179-003)&lt;/pre&gt;
&lt;p&gt;The application server will then fail to deploy Appian.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;Starting Appian 16.1, the property names for configuring data sources in &lt;strong&gt;custom.properties&lt;/strong&gt; has changed from &lt;code&gt;conf.data.primary.datasource&lt;/code&gt; to &lt;code&gt;conf.data.APPIAN_DATA_SOURCE&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Refer to &lt;a href="https://forum.appian.com/suite/help/16.1/Configuring_Relational_Databases.html#List_Data_Sources_in_custom.properties"&gt;List Data Sources in custom.properties&lt;/a&gt; for more information.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Ensure the primary data source property is changed to &lt;code&gt;conf.data.APPIAN_DATA_SOURCE&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 16.1 and later.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: February 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, installation, upgrade&lt;/div&gt;
</description></item></channel></rss>