<?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-2005 Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-2005 Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties</link><pubDate>Fri, 04 Oct 2019 06:54:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Current Revision posted to Appian Knowledge Base by Parmida Borhani on 10/4/2019 6:54:37 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;h3&gt;Symptom 1&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;The login page loads via HTTPS but static content does not load.&lt;/span&gt; Inspecting the&amp;nbsp;page through a network capture reveals that static content response is coming from an undesired port.&lt;/p&gt;
&lt;h3&gt;Symptom 2&lt;/h3&gt;
&lt;p&gt;Setting a default &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html" rel="noopener noreferrer" target="_blank"&gt;User Start Page&lt;/a&gt; on the &amp;#39;User Start Pages&amp;#39; tab of the Admin Console yields the following error:&lt;/p&gt;
&lt;pre&gt;The URL is invalid or has an incorrect base URL. The base URL must be https://FQDN:&amp;lt;INCORRECT_PORT&amp;gt;&lt;/pre&gt;
&lt;h3&gt;Symptom 3&lt;/h3&gt;
&lt;p&gt;Logging in yields a 401 error&amp;nbsp;when hitting:&lt;/p&gt;
&lt;pre&gt;https://&amp;lt;FQDN&amp;gt;/suite&lt;/pre&gt;
&lt;h3&gt;Symptom 4&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;JBoss or Tomcat fail to start with errors that point to data sources that do not exist in &lt;strong&gt;custom.properties&lt;/strong&gt;, &lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor &lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;custom.properties&lt;/strong&gt; file exists somewhere else on the server other than the expected location. This file is expected to be under &lt;code&gt;&lt;span&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf&lt;/span&gt;&lt;/code&gt;&amp;nbsp;for Appian 18.3 and later, and in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt; for 18.2 and earlier.&lt;/p&gt;
&lt;p&gt;If a &lt;strong&gt;custom.properties&lt;/strong&gt; file is found in one of the following directories:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Directly from the URL&lt;/li&gt;
&lt;li&gt;Base directory&lt;/li&gt;
&lt;li&gt;User&amp;#39;s home directory (if it exists)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Appian will use that file rather than the expected &lt;strong&gt;custom.properties&lt;/strong&gt; file in the &lt;span&gt;&lt;code&gt;conf&lt;/code&gt;&amp;nbsp;&lt;/span&gt;directory and the application server will fail to start due to a mismatch between &lt;strong&gt;custom.properties&lt;/strong&gt; and the &lt;strong&gt;appian-ds.xml&lt;/strong&gt;, &lt;strong&gt;standalone.xml&lt;/strong&gt;, or &lt;strong&gt;tomcatResources.xml&lt;/strong&gt; files.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Find and remove any &lt;strong&gt;custom.properties&lt;/strong&gt; files extraneous to the classpath.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 18.4 and earlier.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: October 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/17</link><pubDate>Thu, 03 Oct 2019 15:39:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Daniel Castegnaro</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 17 posted to Appian Knowledge Base by Daniel Castegnaro on 10/3/2019 3:39:01 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;h3&gt;Symptom 1&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;The login page loads via HTTPS but static content does not load.&lt;/span&gt; Inspecting the&amp;nbsp;page through a network capture reveals that static content response is coming from an undesired port.&lt;/p&gt;
&lt;h3&gt;Symptom 2&lt;/h3&gt;
&lt;p&gt;Setting a default &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html" rel="noopener noreferrer" target="_blank"&gt;User Start Page&lt;/a&gt; on the &amp;#39;User Start Pages&amp;#39; tab of the Admin Console yields the following error:&lt;/p&gt;
&lt;pre&gt;The URL is invalid or has an incorrect base URL. The base URL must be https://FQDN:&amp;lt;INCORRECT_PORT&amp;gt;&lt;/pre&gt;
&lt;h3&gt;Symptom 3&lt;/h3&gt;
&lt;p&gt;Logging in yields a 401 error&amp;nbsp;when hitting:&lt;/p&gt;
&lt;pre&gt;https://&amp;lt;FQDN&amp;gt;/suite&lt;/pre&gt;
&lt;h3&gt;Symptom 4&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;JBoss or Tomcat fail to start with errors that point to data sources that do not exist in &lt;strong&gt;custom.properties&lt;/strong&gt;, &lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor &lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;custom.properties&lt;/strong&gt; file exists somewhere else on the server other than the expected location. This file is expected to be under &lt;code&gt;&lt;span&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf&lt;/span&gt;&lt;/code&gt;&amp;nbsp;for Appian 18.3 and later, and in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt; for 18.2 and earlier.&lt;/p&gt;
&lt;p&gt;If a &lt;strong&gt;custom.properties&lt;/strong&gt; file is found in one of the following directories:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Directly from the URL&lt;/li&gt;
&lt;li&gt;Base directory&lt;/li&gt;
&lt;li&gt;User&amp;#39;s home directory (if it exists)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Appian will use that file rather than the expected &lt;strong&gt;custom.properties&lt;/strong&gt; file in the &lt;span&gt;&lt;code&gt;conf&lt;/code&gt;&amp;nbsp;&lt;/span&gt;directory and the application server will fail to start due to a mismatch between &lt;strong&gt;custom.properties&lt;/strong&gt; and the &lt;strong&gt;appian-ds.xml&lt;/strong&gt;, &lt;strong&gt;standalone.xml&lt;/strong&gt;, or &lt;strong&gt;tomcatResources.xml&lt;/strong&gt; files.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Find and remove any &lt;strong&gt;custom.properties&lt;/strong&gt; files extraneous to the classpath.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 18.4 and earlier.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: October 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/16</link><pubDate>Wed, 02 Oct 2019 22:44:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Daniel Castegnaro</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 16 posted to Appian Knowledge Base by Daniel Castegnaro on 10/2/2019 10:44:21 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;h3&gt;Symptom 1&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;The login page loads via HTTPS but static content does not load.&lt;/span&gt; Inspecting the&amp;nbsp;page through a network capture reveals that static content response is coming from an undesired port.&lt;/p&gt;
&lt;h3&gt;Symptom 2&lt;/h3&gt;
&lt;p&gt;Setting a default &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html" rel="noopener noreferrer" target="_blank"&gt;User Start Page&lt;/a&gt; on the &amp;#39;User Start Pages&amp;#39; tab of the Admin Console yields the following error:&lt;/p&gt;
&lt;pre&gt;The URL is invalid or has an incorrect base URL. The base URL must be https://FQDN:&amp;lt;INCORRECT_PORT&amp;gt;&lt;/pre&gt;
&lt;h3&gt;Symptom 3&lt;/h3&gt;
&lt;p&gt;Logging in yields a 401 error&amp;nbsp;when hitting:&lt;/p&gt;
&lt;pre&gt;https://&amp;lt;FQDN&amp;gt;/suite&lt;/pre&gt;
&lt;h3&gt;Symptom 4&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;JBoss or Tomcat fail to start with errors that point to data sources that do not exist in &lt;strong&gt;custom.properties&lt;/strong&gt;, &lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor &lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;custom.properties&lt;/strong&gt; file exists somewhere else on the server other than the expected location. This file is expected to be under &lt;span&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf&lt;/span&gt;. for Appian 18.3 and later, and in &amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf for 18.2 and earlier.&lt;/p&gt;
&lt;p&gt;If a custom.properties file is found in one of the following directories:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Directly from the URL&lt;/li&gt;
&lt;li&gt;Base directory&lt;/li&gt;
&lt;li&gt;User&amp;#39;s home directory (if it exists)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Appian will use that file rather than the expected &lt;strong&gt;custom.properties&lt;/strong&gt; file in the &lt;span&gt;conf&amp;nbsp;&lt;/span&gt;directory and the application server will fail to start due to a mismatch between &lt;strong&gt;custom.properties&lt;/strong&gt; and the &lt;strong&gt;appian-ds.xml&lt;/strong&gt;, &lt;strong&gt;standalone.xml&lt;/strong&gt;, or &lt;strong&gt;tomcatResources.xml&lt;/strong&gt; files.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Find and remove any &lt;strong&gt;custom.properties&lt;/strong&gt; files extraneous to the classpath.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 18.4 and earlier.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: September 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/15</link><pubDate>Wed, 25 Sep 2019 00:03:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 15 posted to Appian Knowledge Base by Parmida Borhani on 9/25/2019 12:03:04 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;h3&gt;Symptom 1&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;The login page loads via HTTPS but static content does not load.&lt;/span&gt; Inspecting the&amp;nbsp;page through a network capture reveals that static content response is coming from an undesired port.&lt;/p&gt;
&lt;h3&gt;Symptom 2&lt;/h3&gt;
&lt;p&gt;Setting a default &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html" rel="noopener noreferrer" target="_blank"&gt;User Start Page&lt;/a&gt; on the &amp;#39;User Start Pages&amp;#39; tab of the Admin Console yields the following error:&lt;/p&gt;
&lt;pre&gt;The URL is invalid or has an incorrect base URL. The base URL must be https://FQDN:&amp;lt;INCORRECT_PORT&amp;gt;&lt;/pre&gt;
&lt;h3&gt;Symptom 3&lt;/h3&gt;
&lt;p&gt;Logging in yields a 401 error&amp;nbsp;when hitting:&lt;/p&gt;
&lt;pre&gt;https://&amp;lt;FQDN&amp;gt;/suite&lt;/pre&gt;
&lt;h3&gt;Symptom 4&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;JBoss or Tomcat fail to start with errors that point to data sources that do not exist in &lt;strong&gt;custom.properties&lt;/strong&gt;, &lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor &lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;custom.properties&lt;/strong&gt; file exists somewhere else on the server other than the expected location.&lt;/p&gt;
&lt;p&gt;Apache commons-configuration&amp;nbsp;&lt;code&gt;&lt;tt&gt;PropertiesConfiguration&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;will attempt to find a file specified by just the name with a call to&amp;nbsp;&lt;code&gt;&lt;tt&gt;ConfigurationUtils.locate()&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;which resolves in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Directly from the URL&lt;/li&gt;
&lt;li&gt;Base directory&lt;/li&gt;
&lt;li&gt;User&amp;#39;s home directory (if it&amp;nbsp;exists)&lt;/li&gt;
&lt;li&gt;Classpath&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The &lt;code&gt;conf&lt;/code&gt; directory referenced below has a different location depending on the Appian version. In versions 18.3 and later, it is &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf&lt;/code&gt;. In 18.2 and earlier, it is &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;code&gt;&lt;tt&gt;&lt;span&gt;conf&lt;/span&gt;&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;directory is on the classpath, so Appian expects to use the &lt;strong&gt;custom.properties&lt;/strong&gt; file on step 4. However, if a &lt;strong&gt;custom.properties&lt;/strong&gt; file is found in one of the directories before step 4, Appian will use that file rather than the expected &lt;strong&gt;custom.properties&lt;/strong&gt; file in the&amp;nbsp;&lt;code&gt;&lt;span&gt;conf&lt;/span&gt;&lt;/code&gt;&amp;nbsp;directory.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hence, if stale versions of &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;exist in a user&amp;#39;s home directory and this user attempts to start the application server,&amp;nbsp;Appian will&amp;nbsp;pick-up the wrong file and the application server will fail to start.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;A&lt;strong&gt; custom.properties&lt;/strong&gt;&amp;nbsp;file with stale values exists in the user&amp;rsquo;s home directory. Hence, JBoss/Tomcat overwrites updates made to the &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;in step 4 with the stale values from the&amp;nbsp;rogue&amp;nbsp;&lt;strong&gt;custom.properties &lt;/strong&gt;file&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The application server&amp;nbsp;could not start because the data sources defined in the stale&amp;nbsp;&lt;strong&gt;custom.properties&lt;/strong&gt; file are not present in the&amp;nbsp;&lt;strong&gt;appian-ds.xml&lt;/strong&gt;,&amp;nbsp;&lt;strong&gt;standalone.xml&lt;/strong&gt;, or&amp;nbsp;&lt;strong&gt;tomcatResources.xml&lt;/strong&gt; files. Given that Apache found a stale&amp;nbsp;&lt;strong&gt;custom.properties &lt;/strong&gt;file, it will utilize its configurations. This causes a mismatch between&amp;nbsp;&lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;and the&amp;nbsp;&lt;strong&gt;appian-ds.xml&lt;/strong&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;strong&gt;standalone.xml&lt;/strong&gt;&lt;span&gt;, or&amp;nbsp;&lt;/span&gt;&lt;strong&gt;tomcatResources.xml&lt;/strong&gt;&lt;span&gt;&amp;nbsp;files&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Find and remove any &lt;strong&gt;custom.properties&lt;/strong&gt; files extraneous to the classpath.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 18.4 and earlier.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: September 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/14</link><pubDate>Tue, 24 Sep 2019 14:45:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Daniel Castegnaro</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 14 posted to Appian Knowledge Base by Daniel Castegnaro on 9/24/2019 2:45:26 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;h3&gt;Symptom 1&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;The login page loads via HTTPS but static content does not load.&lt;/span&gt; Inspecting the&amp;nbsp;page through a network capture reveals that static content response is coming from an undesired port.&lt;/p&gt;
&lt;h3&gt;Symptom 2&lt;/h3&gt;
&lt;p&gt;Setting a default &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html" rel="noopener noreferrer" target="_blank"&gt;User Start Page&lt;/a&gt; on the &amp;#39;User Start Pages&amp;#39; tab of the Admin Console yields the following error:&lt;/p&gt;
&lt;pre&gt;The URL is invalid or has an incorrect base URL. The base URL must be https://FQDN:&amp;lt;INCORRECT_PORT&amp;gt;&lt;/pre&gt;
&lt;h3&gt;Symptom 3&lt;/h3&gt;
&lt;p&gt;Logging in yields a 401 error&amp;nbsp;when hitting:&lt;/p&gt;
&lt;pre&gt;https://&amp;lt;FQDN&amp;gt;/suite&lt;/pre&gt;
&lt;h3&gt;Symptom 4&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;JBoss or Tomcat fail to start with errors that point to data sources that do not exist in &lt;strong&gt;custom.properties&lt;/strong&gt;, &lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor &lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;custom.properties&lt;/strong&gt; file exists somewhere else on the server other than the expected location.&lt;/p&gt;
&lt;p&gt;Apache commons-configuration&amp;nbsp;&lt;code&gt;&lt;tt&gt;PropertiesConfiguration&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;will attempt to find a file specified by just the name with a call to&amp;nbsp;&lt;code&gt;&lt;tt&gt;ConfigurationUtils.locate()&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;which resolves in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Directly from the URL&lt;/li&gt;
&lt;li&gt;Base directory&lt;/li&gt;
&lt;li&gt;User&amp;#39;s home directory (if it&amp;nbsp;exists)&lt;/li&gt;
&lt;li&gt;Classpath&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The&amp;nbsp;&lt;code&gt;&lt;tt&gt;&lt;span&gt;/conf&lt;/span&gt;/&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;directory is on the classpath, so Appian expects to use the &lt;strong&gt;custom.properties&lt;/strong&gt; file on step 4. However, if a &lt;strong&gt;custom.properties&lt;/strong&gt; file is found in one of the directories before step 4, Appian will use that file rather than the expected &lt;strong&gt;custom.properties&lt;/strong&gt; file in the&amp;nbsp;&lt;code&gt;&lt;span&gt;/conf&lt;/span&gt;&lt;span&gt;/&lt;/span&gt;&lt;/code&gt; directory.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hence, if stale versions of &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;exist in a user&amp;#39;s home directory and this user attempts to start the application server,&amp;nbsp;Appian will&amp;nbsp;pick-up the wrong file and the application server will fail to start.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;A&lt;strong&gt; custom.properties&lt;/strong&gt;&amp;nbsp;file with stale values exists in the user&amp;rsquo;s home directory. Hence, JBoss/Tomcat overwrites updates made to the &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;in step 4 with the stale values from the&amp;nbsp;rogue&amp;nbsp;&lt;strong&gt;custom.properties &lt;/strong&gt;file&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The application server&amp;nbsp;could not start because the data sources defined in the stale&amp;nbsp;&lt;strong&gt;custom.properties&lt;/strong&gt; file are not present in the&amp;nbsp;&lt;strong&gt;appian-ds.xml&lt;/strong&gt;,&amp;nbsp;&lt;strong&gt;standalone.xml&lt;/strong&gt;, or&amp;nbsp;&lt;strong&gt;tomcatResources.xml&lt;/strong&gt; files. Given that Apache found a stale&amp;nbsp;&lt;strong&gt;custom.properties &lt;/strong&gt;file, it will utilize its configurations. This causes a mismatch between&amp;nbsp;&lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;and the&amp;nbsp;&lt;strong&gt;appian-ds.xml&lt;/strong&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;strong&gt;standalone.xml&lt;/strong&gt;&lt;span&gt;, or&amp;nbsp;&lt;/span&gt;&lt;strong&gt;tomcatResources.xml&lt;/strong&gt;&lt;span&gt;&amp;nbsp;files&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Find and remove any &lt;strong&gt;custom.properties&lt;/strong&gt; files extraneous to the classpath.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 18.4 and earlier.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: September 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/13</link><pubDate>Tue, 24 Sep 2019 14:44:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Daniel Castegnaro</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 13 posted to Appian Knowledge Base by Daniel Castegnaro on 9/24/2019 2:44:53 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;h3&gt;Symptom 1&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;The login page loads via HTTPS but static content does not load.&lt;/span&gt; Inspecting the&amp;nbsp;page through a network capture reveals that static content response is coming from an undesired port.&lt;/p&gt;
&lt;h3&gt;Symptom 2&lt;/h3&gt;
&lt;p&gt;Setting a default &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html" rel="noopener noreferrer" target="_blank"&gt;User Start Page&lt;/a&gt; on the &amp;#39;User Start Pages&amp;#39; tab of the Admin Console yields the following error:&lt;/p&gt;
&lt;pre&gt;The URL is invalid or has an incorrect base URL. The base URL must be https://FQDN:&amp;lt;INCORRECT_PORT&amp;gt;&lt;/pre&gt;
&lt;h3&gt;Symptom 3&lt;/h3&gt;
&lt;p&gt;Logging in yields a 401 error&amp;nbsp;when hitting:&lt;/p&gt;
&lt;pre&gt;https://&amp;lt;FQDN&amp;gt;/suite&lt;/pre&gt;
&lt;h3&gt;Symptom 4&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;JBoss or Tomcat fail to start with errors that point to data sources that do not exist in &lt;strong&gt;custom.properties&lt;/strong&gt;, &lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor &lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;custom.properties&lt;/strong&gt; file exists somewhere else on the server other than the expected location.&lt;/p&gt;
&lt;p&gt;Apache commons-configuration&amp;nbsp;&lt;code&gt;&lt;tt&gt;PropertiesConfiguration&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;will attempt to find a file specified by just the name with a call to&amp;nbsp;&lt;code&gt;&lt;tt&gt;ConfigurationUtils.locate()&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;which resolves in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Directly from the URL&lt;/li&gt;
&lt;li&gt;Base directory&lt;/li&gt;
&lt;li&gt;User&amp;#39;s home directory (if it&amp;nbsp;exists)&lt;/li&gt;
&lt;li&gt;Classpath&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The&amp;nbsp;&lt;code&gt;&lt;tt&gt;&lt;span&gt;/conf&lt;/span&gt;/&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;directory is on the classpath, so Appian expects to use the &lt;strong&gt;custom.properties&lt;/strong&gt; file on step 4. However, if a &lt;strong&gt;custom.properties&lt;/strong&gt; file is found in one of the directories before step 4, Appian will use that file rather than the expected &lt;strong&gt;custom.properties&lt;/strong&gt; file in the&amp;nbsp;&lt;code&gt;&lt;span&gt;/conf&lt;/span&gt;&lt;span&gt;/&lt;/span&gt;&lt;/code&gt; directory.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hence, if stale versions of &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;exist in a user&amp;#39;s home directory and this user attempts to start the application server,&amp;nbsp;Appian will&amp;nbsp;pick-up the wrong file and the application server will fail to start.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;A&lt;strong&gt; custom.properties&lt;/strong&gt;&amp;nbsp;file with stale values exists in the user&amp;rsquo;s home directory. Hence, JBoss/Tomcat overwrites updates made to the &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;in step 4 with the stale values from the&amp;nbsp;rogue&amp;nbsp;&lt;strong&gt;custom.properties &lt;/strong&gt;file&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The application server&amp;nbsp;could not start because the data sources defined in the stale&amp;nbsp;&lt;strong&gt;custom.properties&lt;/strong&gt; file are not present in the&amp;nbsp;&lt;strong&gt;appian-ds.xml&lt;/strong&gt;,&amp;nbsp;&lt;strong&gt;standalone.xml&lt;/strong&gt;, or&amp;nbsp;&lt;strong&gt;tomcatResources.xml&lt;/strong&gt; files.Given that Apache found a stale&amp;nbsp;&lt;strong&gt;custom.properties &lt;/strong&gt;file, it will utilize its configurations. This causes a mismatch between&amp;nbsp;&lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;and the&amp;nbsp;&lt;strong&gt;appian-ds.xml&lt;/strong&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;strong&gt;standalone.xml&lt;/strong&gt;&lt;span&gt;, or&amp;nbsp;&lt;/span&gt;&lt;strong&gt;tomcatResources.xml&lt;/strong&gt;&lt;span&gt;&amp;nbsp;files&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Find and remove any &lt;strong&gt;custom.properties&lt;/strong&gt; files extraneous to the classpath.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 18.4 and earlier.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: September 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/12</link><pubDate>Wed, 28 Aug 2019 02:28:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 12 posted to Appian Knowledge Base by Parmida Borhani on 8/28/2019 2:28:34 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;h3&gt;Symptom 1&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;The login page loads via HTTPS but static content does not load.&lt;/span&gt; Inspecting the&amp;nbsp;page through a network capture reveals that static content response is coming from an undesired port.&lt;/p&gt;
&lt;h3&gt;Symptom 2&lt;/h3&gt;
&lt;p&gt;Setting a default &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html" rel="noopener noreferrer" target="_blank"&gt;User Start Page&lt;/a&gt; on the &amp;#39;User Start Pages&amp;#39; tab of the Admin Console yields the following error:&lt;/p&gt;
&lt;pre&gt;The URL is invalid or has an incorrect base URL. The base URL must be https://FQDN:&amp;lt;INCORRECT_PORT&amp;gt;&lt;/pre&gt;
&lt;h3&gt;Symptom 3&lt;/h3&gt;
&lt;p&gt;Logging in yields a 401 error&amp;nbsp;when hitting:&lt;/p&gt;
&lt;pre&gt;https://&amp;lt;FQDN&amp;gt;/suite&lt;/pre&gt;
&lt;h3&gt;Symptom 4&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;JBoss or Tomcat fail to start with errors that point to data sources that do not exist in &lt;strong&gt;custom.properties&lt;/strong&gt;, &lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor &lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;custom.properties&lt;/strong&gt; file exists somewhere else on the server other than the expected location.&lt;/p&gt;
&lt;p&gt;Apache commons-configuration&amp;nbsp;&lt;code&gt;&lt;tt&gt;PropertiesConfiguration&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;will attempt to find a file specified by just the name with a call to&amp;nbsp;&lt;code&gt;&lt;tt&gt;ConfigurationUtils.locate()&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;which resolves in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Directly from the URL&lt;/li&gt;
&lt;li&gt;Base directory&lt;/li&gt;
&lt;li&gt;User&amp;#39;s home directory (if it&amp;nbsp;exists)&lt;/li&gt;
&lt;li&gt;Classpath&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The&amp;nbsp;&lt;code&gt;&lt;tt&gt;&lt;span&gt;/conf&lt;/span&gt;/&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;directory is on the classpath, so Appian expects to use the &lt;strong&gt;custom.properties&lt;/strong&gt; file on step 4. However, if a &lt;strong&gt;custom.properties&lt;/strong&gt; file is found before step 4, Appian will use that file rather than the expected &lt;strong&gt;custom.properties&lt;/strong&gt; file in the&amp;nbsp;&lt;code&gt;&lt;span&gt;/conf&lt;/span&gt;&lt;span&gt;/&lt;/span&gt;&lt;/code&gt; directory.&amp;nbsp;Hence, if stale versions of &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;exist in a user&amp;#39;s home directory and this user attempts to start the application server,&amp;nbsp;Appian willl&amp;nbsp;pick up the wrong file and the application server will fail to start.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;A&lt;strong&gt; custom.properties&lt;/strong&gt;&amp;nbsp;file with stale values exists in the user&amp;rsquo;s home directory. Hence, JBoss/Tomcat overwrites the customer&amp;rsquo;s updates to the &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;in the expected location&amp;nbsp;with the values from the stale &lt;strong&gt;custom.properties&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;JBoss/Tomcat could not start because the data sources defined in the&lt;strong&gt; custom.properties&lt;/strong&gt; file in the user&amp;#39;s home directory no longer exist in the&amp;nbsp;&lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor&amp;nbsp;&lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt; files after updates were made to the files and the &lt;strong&gt;custom.properties&lt;/strong&gt; located in the expected location&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Find and remove any &lt;strong&gt;custom.properties&lt;/strong&gt; files extraneous to the classpath.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 18.4 and earlier.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: August 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/11</link><pubDate>Wed, 28 Aug 2019 02:27:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 11 posted to Appian Knowledge Base by Parmida Borhani on 8/28/2019 2:27:21 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;h3&gt;Symptom 1&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;The login page loads via HTTPS but static content does not load.&lt;/span&gt; Inspecting the&amp;nbsp;page through a network capture reveals that static content response is coming from an undesired port.&lt;/p&gt;
&lt;h3&gt;Symptom 2&lt;/h3&gt;
&lt;p&gt;Setting a default &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html" rel="noopener noreferrer" target="_blank"&gt;User Start Page&lt;/a&gt; on the &amp;#39;User Start Pages&amp;#39; tab of the Admin Console yields the following error:&lt;/p&gt;
&lt;pre&gt;The URL is invalid or has an incorrect base URL. The base URL must be https://FQDN:&amp;lt;INCORRECT_PORT&amp;gt;&lt;/pre&gt;
&lt;h3&gt;Symptom 3&lt;/h3&gt;
&lt;p&gt;Logging in yields a 401 error&amp;nbsp;when hitting:&lt;/p&gt;
&lt;pre&gt;https://&amp;lt;FQDN&amp;gt;/suite&lt;/pre&gt;
&lt;h3&gt;Symptom 4&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;JBoss or Tomcat fail to start with errors that point to data sources that do not exist in &lt;strong&gt;custom.properties&lt;/strong&gt;, &lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor &lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;custom.properties&lt;/strong&gt; file exists somewhere else on the server other than the expected location.&lt;/p&gt;
&lt;p&gt;Apache commons-configuration&amp;nbsp;&lt;code&gt;&lt;tt&gt;PropertiesConfiguration&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;will attempt to find a file specified by just the name with a call to&amp;nbsp;&lt;code&gt;&lt;tt&gt;ConfigurationUtils.locate()&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;which resolves in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Directly from the URL&lt;/li&gt;
&lt;li&gt;Base directory&lt;/li&gt;
&lt;li&gt;User&amp;#39;s home directory (if it&amp;nbsp;exists)&lt;/li&gt;
&lt;li&gt;Classpath&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The&amp;nbsp;&lt;code&gt;&lt;tt&gt;&lt;span&gt;/conf&lt;/span&gt;/&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;directory is on the classpath, so Appian expects to use the &lt;strong&gt;custom.properties&lt;/strong&gt; file on step 4. However, if a &lt;strong&gt;custom.properties&lt;/strong&gt; file is found before step 4, Appian will use that file rather than the expected &lt;strong&gt;custom.properties&lt;/strong&gt; file in the&amp;nbsp;&lt;code&gt;&lt;span&gt;/conf&lt;/span&gt;&lt;span&gt;/&lt;/span&gt;&lt;/code&gt; directory.&amp;nbsp;Hence, if stale versions of &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;exist in a user&amp;#39;s home directory and this user attempts to start the application server,&amp;nbsp;Appian willl&amp;nbsp;pick up the wrong file and the application server will fail to start.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;A&lt;strong&gt; custom.properties&lt;/strong&gt;&amp;nbsp;file with stale values exists in the user&amp;rsquo;s home directory. Hence, JBoss/Tomcat overwrites the customer&amp;rsquo;s updates to the &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;in the expected location&amp;nbsp;with the values from the stale &lt;strong&gt;custom.properties&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;JBoss/Tomcat could not start because the data sources defined in the&lt;strong&gt; custom.properties&lt;/strong&gt; file in the user&amp;#39;s home directory no longer exist in the&amp;nbsp;&lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor&amp;nbsp;&lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt; files after updates were made to the files and the &lt;strong&gt;custom.properties&lt;/strong&gt; located in the expected location&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Find and remove any &lt;strong&gt;custom.properties&lt;/strong&gt; files extraneous to the classpath.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 18.4 and earlier.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: August 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, database, installation, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/10</link><pubDate>Wed, 28 Aug 2019 02:26:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 10 posted to Appian Knowledge Base by Parmida Borhani on 8/28/2019 2:26:51 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;h3&gt;Symptom 1&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;The login page loads via HTTPS but static content does not load.&lt;/span&gt; Inspecting the&amp;nbsp;page through a network capture reveals that static content response is coming from an undesired port.&lt;/p&gt;
&lt;h3&gt;Symptom 2&lt;/h3&gt;
&lt;p&gt;Setting a default &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html" rel="noopener noreferrer" target="_blank"&gt;User Start Page&lt;/a&gt; on the &amp;#39;User Start Pages&amp;#39; tab of the Admin Console yields the following error:&lt;/p&gt;
&lt;pre&gt;The URL is invalid or has an incorrect base URL. The base URL must be https://FQDN:&amp;lt;INCORRECT_PORT&amp;gt;&lt;/pre&gt;
&lt;h3&gt;Symptom 3&lt;/h3&gt;
&lt;p&gt;Logging in yields a 401 error&amp;nbsp;when hitting:&lt;/p&gt;
&lt;pre&gt;https://&amp;lt;FQDN&amp;gt;/suite&lt;/pre&gt;
&lt;h3&gt;Symptom 4&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;JBoss or Tomcat fail to start with errors that point to data sources that do not exist in &lt;strong&gt;custom.properties&lt;/strong&gt;, &lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor &lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;custom.properties&lt;/strong&gt; file exists somewhere else on the server other than the expected location.&lt;/p&gt;
&lt;p&gt;Apache commons-configuration&amp;nbsp;&lt;code&gt;&lt;tt&gt;PropertiesConfiguration&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;will attempt to find a file specified by just the name with a call to&amp;nbsp;&lt;code&gt;&lt;tt&gt;ConfigurationUtils.locate()&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;which resolves in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Directly from the URL&lt;/li&gt;
&lt;li&gt;Base directory&lt;/li&gt;
&lt;li&gt;User&amp;#39;s home directory (if it&amp;nbsp;exists)&lt;/li&gt;
&lt;li&gt;Classpath&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The&amp;nbsp;&lt;code&gt;&lt;tt&gt;&lt;span&gt;/conf&lt;/span&gt;/&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;directory is on the classpath, so Appian expects to use the &lt;strong&gt;custom.properties&lt;/strong&gt; file on step 4. However, if a &lt;strong&gt;custom.properties&lt;/strong&gt; file is found before step 4, Appian will use that file rather than the expected &lt;strong&gt;custom.properties&lt;/strong&gt; file in the&amp;nbsp;&lt;code&gt;&lt;span&gt;/conf&lt;/span&gt;&lt;span&gt;/&lt;/span&gt;&lt;/code&gt; directory.&amp;nbsp;Hence, if stale versions of &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;exist in a user&amp;#39;s home directory and this user attempts to start the application server,&amp;nbsp;Appian willl&amp;nbsp;pick up the wrong file and the application server will fail to start.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;A&lt;strong&gt; custom.properties&lt;/strong&gt;&amp;nbsp;file with stale values exists in the user&amp;rsquo;s home directory. Hence, JBoss/Tomcat overwrites the customer&amp;rsquo;s updates to the &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;in the expected location&amp;nbsp;with the values from the stale &lt;strong&gt;custom.properties&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;JBoss/Tomcat could not start because the data sources defined in the&lt;strong&gt; custom.properties&lt;/strong&gt; file in the user&amp;#39;s home directory no longer exist in the &amp;nbsp;&lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor&amp;nbsp;&lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt; files after updates were made to the files and the &lt;strong&gt;custom.properties&lt;/strong&gt; located in the expected location&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Find and remove any &lt;strong&gt;custom.properties&lt;/strong&gt; files extraneous to the classpath.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 18.4 and earlier.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: August 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, database, installation, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/8</link><pubDate>Tue, 27 Aug 2019 22:21:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Daniel Castegnaro</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 8 posted to Appian Knowledge Base by Daniel Castegnaro on 8/27/2019 10:21:33 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;h3&gt;Symptom 1&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;The login page loads via HTTPS but static content does not load.&lt;/span&gt; Inspecting the&amp;nbsp;page through a network capture reveals that static content response is coming from an undesired port.&lt;/p&gt;
&lt;h3&gt;Symptom 2&lt;/h3&gt;
&lt;p&gt;Setting a Default &lt;a href="https://docs.appian.com/suite/help/19.3/Appian_Administration_Console.html"&gt;Start Page&lt;/a&gt; on the &amp;#39;User Start Pages&amp;#39; tab of the Admin Console yields the following error:&lt;/p&gt;
&lt;pre&gt;The URL is invalid or has an incorrect base URL. The base URL must be https://FQDN:&amp;lt;INCORRECT_PORT&amp;gt;&lt;/pre&gt;
&lt;h3&gt;Symptom 3&lt;/h3&gt;
&lt;p&gt;Logging in yields a 401 error&amp;nbsp;when hitting:&lt;/p&gt;
&lt;pre&gt;https://&amp;lt;FQDN&amp;gt;/suite&lt;/pre&gt;
&lt;h3&gt;Symptom 4&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;JBoss or Tomcat fail to start with errors that point to data sources that do not exist in &lt;strong&gt;custom.properties&lt;/strong&gt;, &lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor &lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;custom.properties&lt;/strong&gt; file exists somewhere else on the server other than the expected location.&lt;/p&gt;
&lt;p&gt;Apache commons-configuration&amp;nbsp;&lt;code&gt;&lt;tt&gt;PropertiesConfiguration&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;will attempt to find a file specified by just the name with a call to&amp;nbsp;&lt;code&gt;&lt;tt&gt;ConfigurationUtils.locate()&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;which resolves in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Directly from the URL&lt;/li&gt;
&lt;li&gt;Base directory&lt;/li&gt;
&lt;li&gt;User&amp;#39;s home directory (if it&amp;nbsp;exists)&lt;/li&gt;
&lt;li&gt;Classpath&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The&amp;nbsp;&lt;code&gt;&lt;tt&gt;&lt;span&gt;/conf&lt;/span&gt;/&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;directory is on the classpath, so Appian expects to use the custom.properties file on step 4. However, if a &lt;strong&gt;custom.properties&lt;/strong&gt; file is found before step 4, Appian will use that file rather than the expected &lt;strong&gt;custom.properties&lt;/strong&gt; file in the&amp;nbsp;&lt;code&gt;&lt;span&gt;/conf&lt;/span&gt;&lt;span&gt;/&lt;/span&gt;&lt;/code&gt; directory&lt;code&gt;.&amp;nbsp;&lt;/code&gt;Hence, if stale versions of &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;exist in a user&amp;#39;s home directory and this user attempts to start the Application Server,&amp;nbsp;Appian willl&amp;nbsp;pick-up the wrong file and the Application Server will fail to start.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;A&lt;strong&gt; custom.properties&lt;/strong&gt;&amp;nbsp;file with stale values exists in the user&amp;rsquo;s home directory. Hence, JBoss/Tomcat overwrites the customer&amp;rsquo;s updates to the &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;in the expected location&amp;nbsp;with the values from the stale &lt;strong&gt;custom.properties&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;JBoss/Tomcat could not start because the data sources defined in the&lt;strong&gt; custom.properties&lt;/strong&gt; file in the user&amp;#39;s home directory no longer exist in the &amp;nbsp;&lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor&amp;nbsp;&lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt; files after updates were made to the files and the &lt;strong&gt;custom.properties&lt;/strong&gt; located in the expected location&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Find and remove any &lt;strong&gt;custom.properties&lt;/strong&gt; files extraneous to the classpath.&lt;/p&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 18.4 and earlier.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: August 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, database, installation, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/8</link><pubDate>Tue, 27 Aug 2019 22:21:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Daniel Castegnaro</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 8 posted to Appian Knowledge Base by Daniel Castegnaro on 8/27/2019 10:21:33 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;h3&gt;Symptom 1&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;The login page loads via HTTPS but static content does not load.&lt;/span&gt; Inspecting the&amp;nbsp;page through a network capture reveals that static content response is coming from an undesired port.&lt;/p&gt;
&lt;h3&gt;Symptom 2&lt;/h3&gt;
&lt;p&gt;Setting a Default &lt;a href="https://docs.appian.com/suite/help/19.3/Appian_Administration_Console.html"&gt;Start Page&lt;/a&gt; on the &amp;#39;User Start Pages&amp;#39; tab of the Admin Console yields the following error:&lt;/p&gt;
&lt;pre&gt;The URL is invalid or has an incorrect base URL. The base URL must be https://FQDN:&amp;lt;INCORRECT_PORT&amp;gt;&lt;/pre&gt;
&lt;h3&gt;Symptom 3&lt;/h3&gt;
&lt;p&gt;Logging in yields a 401 error&amp;nbsp;when hitting:&lt;/p&gt;
&lt;pre&gt;https://&amp;lt;FQDN&amp;gt;/suite&lt;/pre&gt;
&lt;h3&gt;Symptom 4&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;JBoss or Tomcat fail to start with errors that point to data sources that do not exist in &lt;strong&gt;custom.properties&lt;/strong&gt;, &lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor &lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;custom.properties&lt;/strong&gt; file exists somewhere else on the server other than the expected location.&lt;/p&gt;
&lt;p&gt;Apache commons-configuration&amp;nbsp;&lt;code&gt;&lt;tt&gt;PropertiesConfiguration&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;will attempt to find a file specified by just the name with a call to&amp;nbsp;&lt;code&gt;&lt;tt&gt;ConfigurationUtils.locate()&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;which resolves in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Directly from the URL&lt;/li&gt;
&lt;li&gt;Base directory&lt;/li&gt;
&lt;li&gt;User&amp;#39;s home directory (if it&amp;nbsp;exists)&lt;/li&gt;
&lt;li&gt;Classpath&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The&amp;nbsp;&lt;code&gt;&lt;tt&gt;&lt;span&gt;/conf&lt;/span&gt;/&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;directory is on the classpath, so Appian expects to use the custom.properties file on step 4. However, if a &lt;strong&gt;custom.properties&lt;/strong&gt; file is found before step 4, Appian will use that file rather than the expected &lt;strong&gt;custom.properties&lt;/strong&gt; file in the&amp;nbsp;&lt;code&gt;&lt;span&gt;/conf&lt;/span&gt;&lt;span&gt;/&lt;/span&gt;&lt;/code&gt; directory&lt;code&gt;.&amp;nbsp;&lt;/code&gt;Hence, if stale versions of &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;exist in a user&amp;#39;s home directory and this user attempts to start the Application Server,&amp;nbsp;Appian willl&amp;nbsp;pick-up the wrong file and the Application Server will fail to start.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;A&lt;strong&gt; custom.properties&lt;/strong&gt;&amp;nbsp;file with stale values exists in the user&amp;rsquo;s home directory. Hence, JBoss/Tomcat overwrites the customer&amp;rsquo;s updates to the &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;in the expected location&amp;nbsp;with the values from the stale &lt;strong&gt;custom.properties&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;JBoss/Tomcat could not start because the data sources defined in the&lt;strong&gt; custom.properties&lt;/strong&gt; file in the user&amp;#39;s home directory no longer exist in the &amp;nbsp;&lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor&amp;nbsp;&lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt; files after updates were made to the files and the &lt;strong&gt;custom.properties&lt;/strong&gt; located in the expected location&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Find and remove any &lt;strong&gt;custom.properties&lt;/strong&gt; files extraneous to the classpath.&lt;/p&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 18.4 and earlier.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: August 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, database, installation, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/7</link><pubDate>Tue, 20 Aug 2019 14:51:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Daniel Castegnaro</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Daniel Castegnaro on 8/20/2019 2:51:07 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;h3&gt;Symptom 1&lt;/h3&gt;
&lt;p&gt;Login Page loads via https but static content does not load.&amp;nbsp;Inspecting the&amp;nbsp;page through a network capture reveals that static content response is coming from an undesired port.&lt;/p&gt;
&lt;h3&gt;Symptom 2&lt;/h3&gt;
&lt;p&gt;Setting a Default Start Page on the &amp;#39;User Start Pages&amp;#39; tab of the Admin Console yields the following error:&lt;/p&gt;
&lt;pre&gt;The URL is invalid or has an incorrect base URL. The base URL must be https://FQDN:&amp;lt;INCORRECT_PORT&amp;gt;&lt;/pre&gt;
&lt;h3&gt;Symptom 3&lt;/h3&gt;
&lt;p&gt;Logging in yields a 401 error&amp;nbsp;when hitting:&lt;/p&gt;
&lt;pre&gt;https://&amp;lt;FQDN&amp;gt;/suite/tempo&lt;/pre&gt;
&lt;h3&gt;Symptom 4&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;JBoss or Tomcat fail to start with errors that point to data sources that do not exist in &lt;strong&gt;custom.properties&lt;/strong&gt;, &lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor &lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;custom.properties&lt;/strong&gt; file exists somewhere else on the server other than &amp;lt;APPIAN_HOME&amp;gt;/conf.&lt;/p&gt;
&lt;p&gt;Apache commons-configuration&amp;nbsp;&lt;code&gt;&lt;tt&gt;PropertiesConfiguration&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;will attempt to find a file specified by just the name with a call to&amp;nbsp;&lt;code&gt;&lt;tt&gt;ConfigurationUtils.locate()&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;which resolves in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Directly from the URL&lt;/li&gt;
&lt;li&gt;Base directory&lt;/li&gt;
&lt;li&gt;User&amp;#39;s home directory (if it&amp;nbsp;exists)&lt;/li&gt;
&lt;li&gt;Classpath&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;code&gt;&lt;tt&gt;&lt;span&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf&lt;/span&gt;/&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;is on the classpath, so Appian expects to use the custom.properties file on setep 4. However, if a &lt;strong&gt;custom.properties&lt;/strong&gt; file is found before step 4, Appian will use that file rather than the expected &lt;strong&gt;custom.properties&lt;/strong&gt; file in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf&lt;/code&gt;.&amp;nbsp;Hence, if&amp;nbsp;stale versions of &lt;strong&gt;custom.properties&amp;nbsp;&lt;/strong&gt;exist in a user&amp;#39;s home directory and this user attempts to start the Application Server,&amp;nbsp;Appian willl&amp;nbsp;pick-up the wrong file and the Application Server will fail to start.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;A&lt;strong&gt; custom.properties&lt;/strong&gt;&amp;nbsp;file with stale values exists in the user&amp;rsquo;s home directory. Hence, JBoss/Tomcat overwrites the customer&amp;rsquo;s updates to the &lt;strong&gt;custom.properties&lt;/strong&gt;&amp;nbsp;located in&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf/&lt;/code&gt; with the values from the stale &lt;strong&gt;custom.properties&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;JBoss/Tomcat could not start because the data sources defined in the&lt;strong&gt; custom.properties&lt;/strong&gt; file in the user&amp;#39;s home directory no longer exist in the &amp;nbsp;&lt;strong&gt;appian-ds.xml&lt;/strong&gt;, nor&amp;nbsp;&lt;strong&gt;standalone.xml&lt;/strong&gt;/&lt;strong&gt;tomcatResources.xml&lt;/strong&gt; files after updates were made to the files and the &lt;strong&gt;custom.properties&lt;/strong&gt; located in&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf/&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Find and remove/rename any &lt;strong&gt;custom.properties&lt;/strong&gt; files extraneous to the classpath.&lt;/p&gt;
&lt;h3&gt;Linux&lt;/h3&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;span&gt;Possibility to run &lt;code&gt;grep&lt;/code&gt; at the user level to find all &lt;strong&gt;custom.properties&lt;/strong&gt; files that exist on the server.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Windows&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Possibility to&amp;nbsp;use Windows File Explorer to search for all &lt;strong&gt;custom.properties&lt;/strong&gt; files that exist on the server.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 18.4 and earlier.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/6</link><pubDate>Tue, 20 Aug 2019 14:24:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Daniel Castegnaro</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Daniel Castegnaro on 8/20/2019 2:24:48 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;h3&gt;Symptom 1&lt;/h3&gt;
&lt;p&gt;- Login Page loads via https but static content does not load.&amp;nbsp;Inspecting the&amp;nbsp;page through a network capture reveals that static content response is coming from an undesired port.&lt;/p&gt;
&lt;h3&gt;Symptom 2&lt;/h3&gt;
&lt;p&gt;-&amp;nbsp;Setting a Default Start Page on the &amp;#39;User Start Pages&amp;#39; tab of the Admin Console yields the following error&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The URL is invalid or has an incorrect base URL. The base URL must be https://FQDN:&amp;lt;INCORRECT_PORT&amp;gt;&lt;/p&gt;
&lt;h3&gt;Symptom 3&lt;/h3&gt;
&lt;p&gt;- Logging in yields a 401 error&amp;nbsp;when hitting suite/tempo&lt;/p&gt;
&lt;h3&gt;Symptom 4&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;JBOSS or Tomcat fail to start with errors that point to data sources that do not exist in custom.properties, appian-ds.xml, nor standalone.xml/tomcatResources.xml.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A custom.properties file exists somewhere else on the server other than &amp;lt;APPIAN_HOME&amp;gt;/conf.&lt;/p&gt;
&lt;p&gt;Apache commons-configuration&amp;nbsp;&lt;tt&gt;PropertiesConfiguration&lt;/tt&gt;&amp;nbsp;will attempt to find a file specified by just the name with a call to&amp;nbsp;&lt;tt&gt;ConfigurationUtils.locate()&lt;/tt&gt;&amp;nbsp;which resolves in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;directly from the URL&lt;/li&gt;
&lt;li&gt;base directory&lt;/li&gt;
&lt;li&gt;user&amp;#39;s home directory (if it&amp;nbsp;exists)&lt;/li&gt;
&lt;li&gt;classpath&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;tt&gt;&lt;span&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf&lt;/span&gt;/conf&lt;/tt&gt;&amp;nbsp;is on the classpath, so Appian expects to use the custom.properties file on setep 4. However, if a custom.properties file is found before step 4, Appian will use that file rather than the expected custom.propoerties file in &amp;lt;APPIAN_HOME&amp;gt;/conf.&amp;nbsp;Hence, if&amp;nbsp;stale versions of&amp;nbsp;&lt;tt&gt;custom.properties&lt;/tt&gt;&amp;nbsp;exist in a user&amp;#39;s home directory and this user attempts to start the Application Server,&amp;nbsp;Appian willl&amp;nbsp;pick-up the wrong file and the Application Server will fail to start.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jboss could not start because the data sources defined in the custom.properties file in the user&amp;#39;s home directory no longer existed in the ds.xml after updates were made to the ds.xml and the APPIAN_HOME custom.properties.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;custom.properties with stale values in the user&amp;rsquo;s home directory. Jboss was overwriting the customer&amp;rsquo;s updates to the custom.properties in the APPIAN_HOME directory with these, so their expected changes were not taking affect.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Find and remove/rename any custom.properties files extraneous to the classpath
&lt;ol&gt;
&lt;li&gt;Linux
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;&lt;span&gt;&amp;nbsp;Possibility to run grep at the user level to find all custom.properties files that exist on the server&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;&lt;span&gt;Windows&lt;/span&gt;&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Possibility to&amp;nbsp;use Windows File Explorer to search for all custom.properties files that exist on the server&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;This article applies to Appian 18.4 and earlier.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Tag Patty Phonemany and Gabe Hollies&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/5</link><pubDate>Tue, 20 Aug 2019 13:54:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Daniel Castegnaro</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Daniel Castegnaro on 8/20/2019 1:54:44 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Symptom 1&lt;/p&gt;
&lt;p&gt;- Login Page loads via https but static content does not load.&amp;nbsp;Inspecting the&amp;nbsp;page through a network capture reveals that static content response is coming from an undesired port.&lt;/p&gt;
&lt;p&gt;Symptom 2&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;Setting a Default Start Page on the &amp;#39;User Start Pages&amp;#39; tab of the Admin Console yields the following error&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The URL is invalid or has an incorrect base URL. The base URL must be https://FQDN:&amp;lt;INCORRECT_PORT&amp;gt;&lt;/p&gt;
&lt;p&gt;Symptom 3&lt;/p&gt;
&lt;p&gt;- Logging in yields a 401 error&amp;nbsp;when hitting suite/tempo&lt;/p&gt;
&lt;p&gt;Symptom 4&lt;/p&gt;
&lt;p&gt;&lt;span&gt;JBOSS fails to start with errors that point to data sources that do not exist in custom.properties, appian-ds.xml, nor standalone.xml.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A custom.properties file exists somewhere else on the server other than &amp;lt;APPIAN_HOME&amp;gt;/conf.&lt;/p&gt;
&lt;p&gt;Apache commons-configuration&amp;nbsp;&lt;tt&gt;PropertiesConfiguration&lt;/tt&gt;&amp;nbsp;will attempt to find a file specified by just the name with a call to&amp;nbsp;&lt;tt&gt;ConfigurationUtils.locate()&lt;/tt&gt;&amp;nbsp;which resolves in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;directly from the URL&lt;/li&gt;
&lt;li&gt;base directory&lt;/li&gt;
&lt;li&gt;user&amp;#39;s home directory (if it&amp;nbsp;exists)&lt;/li&gt;
&lt;li&gt;classpath&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;tt&gt;&lt;span&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf&lt;/span&gt;/conf&lt;/tt&gt;&amp;nbsp;is on the classpath, so Appian expects to use the custom.properties file on setep 4. However, if a custom.properties file is found before step 4, Appian will use that file rather than the expected custom.propoerties file in &amp;lt;APPIAN_HOME&amp;gt;/conf.&amp;nbsp;Hence, if&amp;nbsp;stale versions of&amp;nbsp;&lt;tt&gt;custom.properties&lt;/tt&gt;&amp;nbsp;exist in a user&amp;#39;s home directory and this user attempts to start the Application Server,&amp;nbsp;Appian willl&amp;nbsp;pick-up the wrong file and the Application Server will fail to start.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jboss could not start because the data sources defined in the custom.properties file in the user&amp;#39;s home directory no longer existed in the ds.xml after updates were made to the ds.xml and the APPIAN_HOME custom.properties.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;custom.properties with stale values in the user&amp;rsquo;s home directory. Jboss was overwriting the customer&amp;rsquo;s updates to the custom.properties in the APPIAN_HOME directory with these, so their expected changes were not taking affect.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Find and remove/rename any custom.properties files extraneous to the classpath
&lt;ol&gt;
&lt;li&gt;Linux
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;&lt;span&gt;&amp;nbsp;Possibility to run grep at the user level to find all custom.properties files that exist on the server&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;&lt;span&gt;Windows&lt;/span&gt;&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Possibility to&amp;nbsp;use Windows File Explorer to search for all custom.properties files that exist on the server&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;This article applies to Appian 18.4 and earlier.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Tag Patty Phonemany and Gabe Hollies&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL uses a database schema, server, or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/4</link><pubDate>Sun, 18 Aug 2019 14:32:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Daniel Castegnaro</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Daniel Castegnaro on 8/18/2019 2:32:34 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Symptom 1&lt;/p&gt;
&lt;p&gt;- Login Page loads via https but static content does not load.&amp;nbsp;Inspecting the&amp;nbsp;page through a network capture reveals that static content response is coming from an undesired port.&lt;/p&gt;
&lt;p&gt;Symptom 2&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;Setting a Default Start Page on the &amp;#39;User Start Pages&amp;#39; tab of the Admin Console yields the following error&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The URL is invalid or has an incorrect base URL. The base URL must be https://FQDN:&amp;lt;INCORRECT_PORT&amp;gt;&lt;/p&gt;
&lt;p&gt;Symptom 3&lt;/p&gt;
&lt;p&gt;- Logging in yields a 401 error&amp;nbsp;when hitting suite/tempo&lt;/p&gt;
&lt;p&gt;Symptom 4&lt;/p&gt;
&lt;p&gt;&lt;span&gt;JBOSS fails to start with errors that point to data sources that do not exist in custom.properties, appian-ds.xml, nor standalone.xml.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A custom.properties file exists somewhere else on the server other than &amp;lt;APPIAN_HOME&amp;gt;/conf.&lt;/p&gt;
&lt;p&gt;Apache commons-configuration&amp;nbsp;&lt;tt&gt;PropertiesConfiguration&lt;/tt&gt;&amp;nbsp;will attempt to find a file specified by just the name with a call to&amp;nbsp;&lt;tt&gt;ConfigurationUtils.locate&lt;/tt&gt;&amp;nbsp;which resolves in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;directly from the URL&lt;/li&gt;
&lt;li&gt;base directory&lt;/li&gt;
&lt;li&gt;user&amp;#39;s home directory if it can find one&lt;/li&gt;
&lt;li&gt;classpath&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;tt&gt;AE_HOME/conf&lt;/tt&gt;&amp;nbsp;is on the classpath, so up until now we&amp;#39;ve been relying on getting to step&amp;nbsp;&lt;a class="external-link" title="Follow link" href="https://github.com/appian/ae/pull/4" rel="nofollow"&gt;#4&lt;/a&gt;. But both customers had stale versions of&amp;nbsp;&lt;tt&gt;custom.properties&lt;/tt&gt;&amp;nbsp;laying around in the home directory of the user who started the appserver, so their sites were picking up the wrong file and quietly breaking.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jboss could not start because the data sources defined in the custom.properties file in the user&amp;#39;s home directory no longer existed in the ds.xml after updates were made to the ds.xml and the APPIAN_HOME custom.properties.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;custom.properties with stale values in the user&amp;rsquo;s home directory. Jboss was overwriting the customer&amp;rsquo;s updates to the custom.properties in the APPIAN_HOME directory with these, so their expected changes were not taking affect.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Looking in the apache commons configuration code, when custom.properties is loaded we&amp;#39;re just providing a file name, not a path.&amp;nbsp;&amp;nbsp;org.apache.commons.configuration.ConfigurationUtils.locate() is called to try to find the URL where that file exists.&amp;nbsp; It searches in the following order:&lt;/p&gt;
&lt;p&gt;1) directly from the URL (which it doesn&amp;#39;t have)&lt;/p&gt;
&lt;p&gt;2) base directory (which it doesn&amp;#39;t have)&lt;/p&gt;
&lt;p&gt;3) user&amp;#39;s home directory if it can find one (which is what I think is getting picked up in both tickets I&amp;#39;ve seen)&lt;/p&gt;
&lt;p&gt;4) classpath (which is what we want...will find it under AE_HOME/conf)&lt;/p&gt;
&lt;p&gt;This is why when the file found in the user home directory is deleted and the appserver restarted things work fine...it gets to the classpath part of the search and finds it in conf.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Find and remove the other custom.properties files.&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Rename the custom.properties in the user&amp;rsquo;s home directory&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;&lt;span&gt;Find and remove the other custom.properties files. Possibility to run grep at the user level to find all custom.properties files that exist on the server.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;This article applies to Appian 18.4 and earlier.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Tag Patty Phonemany&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL is using a scheme, server or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/3</link><pubDate>Tue, 16 Jul 2019 21:52:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Daniel Castegnaro</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Daniel Castegnaro on 7/16/2019 9:52:14 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Symptom 1&lt;/p&gt;
&lt;p&gt;- Login Page loads via https but static content does not load.&amp;nbsp;Inspecting the&amp;nbsp;page through a network capture reveals that content is coming from another location.&lt;/p&gt;
&lt;p&gt;Symptom 2&lt;/p&gt;
&lt;p&gt;- Logging in gives 401 blank page at url https://jango-wnv-01/suite/auth?appian_environment=tempo&lt;/p&gt;
&lt;p&gt;Symptom 3&lt;/p&gt;
&lt;p&gt;&lt;span&gt;JBOSS fails to start with errors that point to data sources that do not exist (were removed) in custom.properties, appian-ds.xml, nor standalone.xml.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;A custom.properties file exists somewhere else on the server other than &amp;lt;APPIAN_HOME&amp;gt;/conf, the&amp;nbsp; being picked up.&lt;/p&gt;
&lt;p&gt;Apache commons-configuration&amp;nbsp;&lt;tt&gt;PropertiesConfiguration&lt;/tt&gt;&amp;nbsp;will attempt to find a file specified by just the name with a call to&amp;nbsp;&lt;tt&gt;ConfigurationUtils.locate&lt;/tt&gt;&amp;nbsp;which resolves in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;directly from the URL&lt;/li&gt;
&lt;li&gt;base directory&lt;/li&gt;
&lt;li&gt;user&amp;#39;s home directory if it can find one&lt;/li&gt;
&lt;li&gt;classpath&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;tt&gt;AE_HOME/conf&lt;/tt&gt;&amp;nbsp;is on the classpath, so up until now we&amp;#39;ve been relying on getting to step&amp;nbsp;&lt;a class="external-link" title="Follow link" href="https://github.com/appian/ae/pull/4" rel="nofollow"&gt;#4&lt;/a&gt;. But both customers had stale versions of&amp;nbsp;&lt;tt&gt;custom.properties&lt;/tt&gt;&amp;nbsp;laying around in the home directory of the user who started the appserver, so their sites were picking up the wrong file and quietly breaking.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jboss could not start because the data sources defined in the custom.properties file in the user&amp;#39;s home directory no longer existed in the ds.xml after updates were made to the ds.xml and the APPIAN_HOME custom.properties.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;custom.properties with stale values in the user&amp;rsquo;s home directory. Jboss was overwriting the customer&amp;rsquo;s updates to the custom.properties in the APPIAN_HOME directory with these, so their expected changes were not taking affect.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Looking in the apache commons configuration code, when custom.properties is loaded we&amp;#39;re just providing a file name, not a path.&amp;nbsp;&amp;nbsp;org.apache.commons.configuration.ConfigurationUtils.locate() is called to try to find the URL where that file exists.&amp;nbsp; It searches in the following order:&lt;/p&gt;
&lt;p&gt;1) directly from the URL (which it doesn&amp;#39;t have)&lt;/p&gt;
&lt;p&gt;2) base directory (which it doesn&amp;#39;t have)&lt;/p&gt;
&lt;p&gt;3) user&amp;#39;s home directory if it can find one (which is what I think is getting picked up in both tickets I&amp;#39;ve seen)&lt;/p&gt;
&lt;p&gt;4) classpath (which is what we want...will find it under AE_HOME/conf)&lt;/p&gt;
&lt;p&gt;This is why when the file found in the user home directory is deleted and the appserver restarted things work fine...it gets to the classpath part of the search and finds it in conf.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;find and remove the other custom.properties files.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Rename the custom.properties in the user&amp;rsquo;s home directory&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;span&gt;Find and remove the other custom.properties files. Possibility to run grep at the user level to find all custom.properties files that exist on the server.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;This article applies to Appian 16.2 and earlier.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL is using a scheme, server or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/2</link><pubDate>Thu, 14 Feb 2019 17:34:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Daniel DeVeau</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Daniel DeVeau on 2/14/2019 5:34:03 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;- Login Page loads via https but static content not loading and inspecting the page reveals content coming from other location&lt;br /&gt;- Logging in gives 401 blank page at url https://jango-wnv-01/suite/auth?appian_environment=tempo&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;custom.properties file exists somewhere else on the server that is being picked up.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;find and remove the other custom.properties files.&lt;/p&gt;
&lt;p&gt;This is fixed after versions:&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, application server, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Appian URL is using a scheme, server or port different than what is defined in custom.properties</title><link>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties/revision/1</link><pubDate>Fri, 14 Dec 2018 20:26:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdefbb2d-7a91-4e3b-8434-32d9adc733f2</guid><dc:creator>Daniel DeVeau</dc:creator><comments>https://community.appian.com/support/w/kb/1268/kb-2005-appian-url-uses-a-database-schema-server-or-port-different-than-what-is-defined-in-custom-properties#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Daniel DeVeau on 12/14/2018 8:26:13 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, application server, infrastructure&lt;/div&gt;
</description></item></channel></rss>