<?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-1083 "javax.naming.NameNotFoundException" thrown in reference to data sources during application server startup</title><link>https://community.appian.com/support/w/kb/307/kb-1083-javax-naming-namenotfoundexception-thrown-in-reference-to-data-sources-during-application-server-startup</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1083 "javax.naming.NameNotFoundException" thrown in reference to data sources during application server startup</title><link>https://community.appian.com/support/w/kb/307/kb-1083-javax-naming-namenotfoundexception-thrown-in-reference-to-data-sources-during-application-server-startup</link><pubDate>Wed, 10 Feb 2021 21:44:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b9296c65-2adc-48b6-a13e-38fba84a1a15</guid><dc:creator>Nicholas Van Dyke</dc:creator><comments>https://community.appian.com/support/w/kb/307/kb-1083-javax-naming-namenotfoundexception-thrown-in-reference-to-data-sources-during-application-server-startup#comments</comments><description>Current Revision posted to Appian Knowledge Base by Nicholas Van Dyke on 2/10/2021 9:44:01 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting Appian, an error message can be seen in the logs where there seems to be an inconsistency in how a character has been typed in a configuration file and how it is read by the application server.&lt;/p&gt;
&lt;p&gt;Examples are given below:&lt;/p&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;javax.naming.NameNotFoundException: While trying to lookup &amp;#39;jdbc.AppianPrimaryDS&amp;#39; didn&amp;#39;t find subcontext &amp;#39;jdbc&amp;#39;. Resolved &amp;#39;&amp;#39;; remaining name &amp;#39;jdbc/AppianPrimaryDS&amp;#39;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;javax.naming.NameNotFoundException: jdbc.AppianPrimaryDS -- service jboss.naming.context.java.&amp;quot;jdbc.AppianPrimaryDS&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;However, in both the above examples, &lt;code&gt;jdbc.AppianPrimaryDS&lt;/code&gt; does not seem to be explicitly defined as such in any configuration file.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The application server is misreading a character in an expression defined in a configuration file. There are different possible reasons for the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A configuration file was modified in Windows (respectively Linux) and transferred to Linux (respectively Windows). Windows internally works with UTF-16 character encoding, whereas Unix-based systems make UTF-8 the default character encoding. Transferring text files between both systems without a common character encoding mechanism can lead to such issues.&lt;/li&gt;
&lt;li&gt;The character encoding for the configuration file in question is not set to UTF-8.&lt;/li&gt;
&lt;li&gt;The application server is set to a different encoding mechanism than UTF-8.&lt;/li&gt;
&lt;li&gt;The&amp;nbsp;&lt;code&gt;conf.data.APPIAN_DATA_SOURCE&lt;/code&gt; field in&amp;nbsp;&lt;strong&gt;custom.properties&lt;/strong&gt;&amp;nbsp;located in&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf/&lt;/code&gt;&amp;nbsp;does not match the data source name provided in the Weblogic Admin Console.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Refer to &lt;a href="https://en.wikipedia.org/wiki/UTF-8"&gt;UTF-8&lt;/a&gt; for more information.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Locate configuration files mentioning the problematic string.&lt;/li&gt;
&lt;li&gt;Manually retype the string using the correct character encoding method. This step needs to be followed in the system where the configuration file is used.&lt;/li&gt;
&lt;li&gt;Save the configuration file in the system used for Appian.&lt;/li&gt;
&lt;li&gt;Ensure&amp;nbsp;the &lt;code&gt;conf.data.APPIAN_DATA_SOURCE&lt;/code&gt; field in&amp;nbsp;&lt;strong&gt;custom.properties&lt;/strong&gt;&amp;nbsp;matches the data source name in the Weblogic Admin Console.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If the character encoding method for the configuration file is not UTF-8, set it to UTF-8.&lt;/p&gt;
&lt;p&gt;By default, the application server should be set to UTF-8. If this isn&amp;#39;t the case, set it to UTF-8. In order to do so, the following step configuration needs to be enabled depending on the application server used:&lt;/p&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;setDomainEnv.sh|bat&lt;/strong&gt; file in a text editor; it can be found under: &lt;br /&gt;
&lt;pre&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;\user_projects\domains\base_domain\bin\&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Under &lt;code&gt;JAVA_Properties&lt;/code&gt;, verify that &lt;code&gt;-Dfile.encoding=UTF-8&lt;/code&gt; is included.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;standalone.conf|conf.bat&lt;/strong&gt; file in a text editor; it can be found under:&lt;br /&gt;
&lt;pre&gt;&amp;lt;JBOSS_HOME&amp;gt;\bin\&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Verify that &lt;code&gt;&amp;quot;URI_ENC=-Dorg.apache.catalina.connector.URI_ENCODING=UTF-8&amp;quot;&lt;/code&gt; is present.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all&amp;nbsp;versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: &lt;span&gt;January 2021&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-1083 "javax.naming.NameNotFoundException" thrown in reference to data sources during application server startup</title><link>https://community.appian.com/support/w/kb/307/kb-1083-javax-naming-namenotfoundexception-thrown-in-reference-to-data-sources-during-application-server-startup/revision/6</link><pubDate>Wed, 29 Aug 2018 17:34:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b9296c65-2adc-48b6-a13e-38fba84a1a15</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/307/kb-1083-javax-naming-namenotfoundexception-thrown-in-reference-to-data-sources-during-application-server-startup#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Jordan Horwat on 8/29/2018 5:34:56 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting Appian, an error message can be seen in the logs where there seems to be an inconsistency in how a character has been typed in a configuration file and how it is read by the application server.&lt;/p&gt;
&lt;p&gt;Examples are given below:&lt;/p&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;javax.naming.NameNotFoundException: While trying to lookup &amp;#39;jdbc.AppianPrimaryDS&amp;#39; didn&amp;#39;t find subcontext &amp;#39;jdbc&amp;#39;. Resolved &amp;#39;&amp;#39;; remaining name &amp;#39;jdbc/AppianPrimaryDS&amp;#39;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;javax.naming.NameNotFoundException: jdbc.AppianPrimaryDS -- service jboss.naming.context.java.&amp;quot;jdbc.AppianPrimaryDS&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;However, in both the above examples, &lt;code&gt;jdbc.AppianPrimaryDS&lt;/code&gt; does not seem to be explicitly defined as such in any configuration file.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The application server is misreading a character in an expression defined in a configuration file. There are different possible reasons for the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A configuration file was modified in Windows (respectively Linux) and transferred to Linux (respectively Windows). Windows internally works with UTF-16 character encoding, whereas Unix-based systems make UTF-8 the default character encoding. Transferring text files between both systems without a common character encoding mechanism can lead to such issues.&lt;/li&gt;
&lt;li&gt;The character encoding for the configuration file in question is not set to UTF-8.&lt;/li&gt;
&lt;li&gt;The application server is set to a different encoding mechanism than UTF-8.&lt;/li&gt;
&lt;li&gt;The&amp;nbsp;&lt;code&gt;conf.data.APPIAN_DATA_SOURCE&lt;/code&gt; field in&amp;nbsp;&lt;strong&gt;custom.properties&lt;/strong&gt;&amp;nbsp;located in&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf/&lt;/code&gt;&amp;nbsp;does not match the data source name provided in the Weblogic Admin Console.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Refer to &lt;a href="https://en.wikipedia.org/wiki/UTF-8"&gt;UTF-8&lt;/a&gt; for more information.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Locate configuration files mentioning the problematic string.&lt;/li&gt;
&lt;li&gt;Manually retype the string using the correct character encoding method. This step needs to be followed in the system where the configuration file is used.&lt;/li&gt;
&lt;li&gt;Save the configuration file in the system used for Appian.&lt;/li&gt;
&lt;li&gt;Ensure&amp;nbsp;the &lt;code&gt;conf.data.APPIAN_DATA_SOURCE&lt;/code&gt; field in&amp;nbsp;&lt;strong&gt;custom.properties&lt;/strong&gt;&amp;nbsp;matches the data source name in the Weblogic Admin Console.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If the character encoding method for the configuration file is not UTF-8, set it to UTF-8.&lt;/p&gt;
&lt;p&gt;By default, the application server should be set to UTF-8. If this isn&amp;#39;t the case, set it to UTF-8. In order to do so, the following step configuration needs to be enabled depending on the application server used:&lt;/p&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;setDomainEnv.sh|bat&lt;/strong&gt; file in a text editor; it can be found under: &lt;br /&gt;
&lt;pre&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;\user_projects\domains\base_domain\bin\&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Under &lt;code&gt;JAVA_Properties&lt;/code&gt;, verify that &lt;code&gt;-Dfile.encoding=UTF-8&lt;/code&gt; is included.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;standalone.conf|conf.bat&lt;/strong&gt; file in a text editor; it can be found under:&lt;br /&gt;
&lt;pre&gt;&amp;lt;JBOSS_HOME&amp;gt;\bin\&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Verify that &lt;code&gt;&amp;quot;URI_ENC=-Dorg.apache.catalina.connector.URI_ENCODING=UTF-8&amp;quot;&lt;/code&gt; is present.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all&amp;nbsp;versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: July 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-1083 "javax.naming.NameNotFoundException" thrown in reference to data sources during application server startup</title><link>https://community.appian.com/support/w/kb/307/kb-1083-javax-naming-namenotfoundexception-thrown-in-reference-to-data-sources-during-application-server-startup/revision/5</link><pubDate>Wed, 29 Aug 2018 17:33:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b9296c65-2adc-48b6-a13e-38fba84a1a15</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/307/kb-1083-javax-naming-namenotfoundexception-thrown-in-reference-to-data-sources-during-application-server-startup#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Jordan Horwat on 8/29/2018 5:33:18 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting Appian, an error message can be seen in the logs where there seems to be an inconsistency in how a character has been typed in a configuration file and how it is read by the application server.&lt;/p&gt;
&lt;p&gt;Examples are given below:&lt;/p&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;javax.naming.NameNotFoundException: While trying to lookup &amp;#39;jdbc.AppianPrimaryDS&amp;#39; didn&amp;#39;t find subcontext &amp;#39;jdbc&amp;#39;. Resolved &amp;#39;&amp;#39;; remaining name &amp;#39;jdbc/AppianPrimaryDS&amp;#39;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;javax.naming.NameNotFoundException: jdbc.AppianPrimaryDS -- service jboss.naming.context.java.&amp;quot;jdbc.AppianPrimaryDS&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;However, in both the above examples, &lt;code&gt;jdbc.AppianPrimaryDS&lt;/code&gt; does not seem to be explicitly defined as such in any configuration file.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The application server is misreading a character in an expression defined in a configuration file. There are different possible reasons for the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A configuration file was modified in Windows (respectively Linux) and transferred to Linux (respectively Windows). Windows internally works with UTF-16 character encoding, whereas Unix-based systems make UTF-8 the default character encoding. Transferring text files between both systems without a common character encoding mechanism can lead to such issues.&lt;/li&gt;
&lt;li&gt;The character encoding for the configuration file in question is not set to UTF-8.&lt;/li&gt;
&lt;li&gt;The application server is set to a different encoding mechanism than UTF-8.&lt;/li&gt;
&lt;li&gt;The&amp;nbsp;&lt;code&gt;conf.data.APPIAN_DATA_SOURCE&lt;/code&gt; field in&amp;nbsp;&lt;strong&gt;custom.properties&lt;/strong&gt;&amp;nbsp;file located in the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf/&lt;/code&gt; directory does not match the data source name provided in the Weblogic Admin Console.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Refer to &lt;a href="https://en.wikipedia.org/wiki/UTF-8"&gt;UTF-8&lt;/a&gt; for more information.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Locate configuration files mentioning the problematic string.&lt;/li&gt;
&lt;li&gt;Manually retype the string using the correct character encoding method. This step needs to be followed in the system where the configuration file is used.&lt;/li&gt;
&lt;li&gt;Save the configuration file in the system used for Appian.&lt;/li&gt;
&lt;li&gt;Ensure&amp;nbsp;the &lt;code&gt;conf.data.APPIAN_DATA_SOURCE&lt;/code&gt; field in&amp;nbsp;&lt;strong&gt;custom.properties&lt;/strong&gt;&amp;nbsp;matches the data source name in the Weblogic Admin Console.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If the character encoding method for the configuration file is not UTF-8, set it to UTF-8.&lt;/p&gt;
&lt;p&gt;By default, the application server should be set to UTF-8. If this isn&amp;#39;t the case, set it to UTF-8. In order to do so, the following step configuration needs to be enabled depending on the application server used:&lt;/p&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;setDomainEnv.sh|bat&lt;/strong&gt; file in a text editor; it can be found under: &lt;br /&gt;
&lt;pre&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;\user_projects\domains\base_domain\bin\&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Under &lt;code&gt;JAVA_Properties&lt;/code&gt;, verify that &lt;code&gt;-Dfile.encoding=UTF-8&lt;/code&gt; is included.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;standalone.conf|conf.bat&lt;/strong&gt; file in a text editor; it can be found under:&lt;br /&gt;
&lt;pre&gt;&amp;lt;JBOSS_HOME&amp;gt;\bin\&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Verify that &lt;code&gt;&amp;quot;URI_ENC=-Dorg.apache.catalina.connector.URI_ENCODING=UTF-8&amp;quot;&lt;/code&gt; is present.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all&amp;nbsp;versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: July 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-1083 "javax.naming.NameNotFoundException" thrown in reference to data sources during application server startup</title><link>https://community.appian.com/support/w/kb/307/kb-1083-javax-naming-namenotfoundexception-thrown-in-reference-to-data-sources-during-application-server-startup/revision/4</link><pubDate>Wed, 29 Aug 2018 17:32:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b9296c65-2adc-48b6-a13e-38fba84a1a15</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/307/kb-1083-javax-naming-namenotfoundexception-thrown-in-reference-to-data-sources-during-application-server-startup#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Jordan Horwat on 8/29/2018 5:32:32 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting Appian, an error message can be seen in the logs where there seems to be an inconsistency in how a character has been typed in a configuration file and how it is read by the application server.&lt;/p&gt;
&lt;p&gt;Examples are given below:&lt;/p&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;javax.naming.NameNotFoundException: While trying to lookup &amp;#39;jdbc.AppianPrimaryDS&amp;#39; didn&amp;#39;t find subcontext &amp;#39;jdbc&amp;#39;. Resolved &amp;#39;&amp;#39;; remaining name &amp;#39;jdbc/AppianPrimaryDS&amp;#39;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;javax.naming.NameNotFoundException: jdbc.AppianPrimaryDS -- service jboss.naming.context.java.&amp;quot;jdbc.AppianPrimaryDS&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;However, in both the above examples, &lt;code&gt;jdbc.AppianPrimaryDS&lt;/code&gt; does not seem to be explicitly defined as such in any configuration file.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The application server is misreading a character in an expression defined in a configuration file. There are different possible reasons for the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A configuration file was modified in Windows (respectively Linux) and transferred to Linux (respectively Windows). Windows internally works with UTF-16 character encoding, whereas Unix-based systems make UTF-8 the default character encoding. Transferring text files between both systems without a common character encoding mechanism can lead to such issues.&lt;/li&gt;
&lt;li&gt;The character encoding for the configuration file in question is not set to UTF-8.&lt;/li&gt;
&lt;li&gt;The application server is set to a different encoding mechanism than UTF-8.&lt;/li&gt;
&lt;li&gt;The&amp;nbsp;&lt;code&gt;conf.data.APPIAN_DATA_SOURCE&lt;/code&gt; field in&amp;nbsp;&lt;strong&gt;custom.properties&lt;/strong&gt;&amp;nbsp;file located in the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf/&lt;/code&gt; directory does not match the data source name provided in the Weblogic Admin Console.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Refer to &lt;a href="https://en.wikipedia.org/wiki/UTF-8"&gt;UTF-8&lt;/a&gt; for more information.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Locate configuration files mentioning the problematic string.&lt;/li&gt;
&lt;li&gt;Manually retype the string using the correct character encoding method. This step needs to be followed in the system where the configuration file is used.&lt;/li&gt;
&lt;li&gt;Save the configuration file in the system used for Appian.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If the character encoding method for the configuration file is not UTF-8, set it to UTF-8.&lt;/p&gt;
&lt;p&gt;By default, the application server should be set to UTF-8. If this isn&amp;#39;t the case, set it to UTF-8. In order to do so, the following step configuration needs to be enabled depending on the application server used:&lt;/p&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;setDomainEnv.sh|bat&lt;/strong&gt; file in a text editor; it can be found under: &lt;br /&gt;
&lt;pre&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;\user_projects\domains\base_domain\bin\&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Under &lt;code&gt;JAVA_Properties&lt;/code&gt;, verify that &lt;code&gt;-Dfile.encoding=UTF-8&lt;/code&gt; is included.&lt;/li&gt;
&lt;li&gt;Ensure&amp;nbsp;the &lt;code&gt;conf.data.APPIAN_DATA_SOURCE&lt;/code&gt; field in&amp;nbsp;&lt;strong&gt;custom.properties&lt;/strong&gt;&amp;nbsp;matches the data source name in the Weblogic Admin Console.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;standalone.conf|conf.bat&lt;/strong&gt; file in a text editor; it can be found under:&lt;br /&gt;
&lt;pre&gt;&amp;lt;JBOSS_HOME&amp;gt;\bin\&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Verify that &lt;code&gt;&amp;quot;URI_ENC=-Dorg.apache.catalina.connector.URI_ENCODING=UTF-8&amp;quot;&lt;/code&gt; is present.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all&amp;nbsp;versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: July 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-1083 "javax.naming.NameNotFoundException" thrown in reference to data sources during application server startup</title><link>https://community.appian.com/support/w/kb/307/kb-1083-javax-naming-namenotfoundexception-thrown-in-reference-to-data-sources-during-application-server-startup/revision/3</link><pubDate>Mon, 30 Jul 2018 12:00:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b9296c65-2adc-48b6-a13e-38fba84a1a15</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/307/kb-1083-javax-naming-namenotfoundexception-thrown-in-reference-to-data-sources-during-application-server-startup#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Parmida Borhani on 7/30/2018 12:00:58 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting Appian, an error message can be seen in the logs where there seems to be an inconsistency in how a character has been typed in a configuration file and how it is read by the application server.&lt;/p&gt;
&lt;p&gt;Examples are given below:&lt;/p&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;javax.naming.NameNotFoundException: While trying to lookup &amp;#39;jdbc.AppianPrimaryDS&amp;#39; didn&amp;#39;t find subcontext &amp;#39;jdbc&amp;#39;. Resolved &amp;#39;&amp;#39;; remaining name &amp;#39;jdbc/AppianPrimaryDS&amp;#39;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;javax.naming.NameNotFoundException: jdbc.AppianPrimaryDS -- service jboss.naming.context.java.&amp;quot;jdbc.AppianPrimaryDS&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;However, in both the above examples, &lt;code&gt;jdbc.AppianPrimaryDS&lt;/code&gt; does not seem to be explicitly defined as such in any configuration file.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The application server is misreading a character in an expression defined in a configuration file. There are different possible reasons for the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A configuration file was modified in Windows (respectively Linux) and transferred to Linux (respectively Windows). Windows internally works with UTF-16 character encoding, whereas Unix-based systems make UTF-8 the default character encoding. Transferring text files between both systems without a common character encoding mechanism can lead to such issues.&lt;/li&gt;
&lt;li&gt;The character encoding for the configuration file in question is not set to UTF-8.&lt;/li&gt;
&lt;li&gt;The application server is set to a different encoding mechanism than UTF-8.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Refer to &lt;a href="https://en.wikipedia.org/wiki/UTF-8"&gt;UTF-8&lt;/a&gt; for more information.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Locate configuration files mentioning the problematic string.&lt;/li&gt;
&lt;li&gt;Manually retype the string using the correct character encoding method. This step needs to be followed in the system where the configuration file is used.&lt;/li&gt;
&lt;li&gt;Save the configuration file in the system used for Appian.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If the character encoding method for the configuration file is not UTF-8, set it to UTF-8.&lt;/p&gt;
&lt;p&gt;By default, the application server should be set to UTF-8. If this isn&amp;#39;t the case, set it to UTF-8. In order to do so, the following step configuration needs to be enabled depending on the application server used:&lt;/p&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;setDomainEnv.sh|bat&lt;/strong&gt; file in a text editor; it can be found under: &lt;br /&gt;
&lt;pre&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;\user_projects\domains\base_domain\bin\&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Under &lt;code&gt;JAVA_Properties&lt;/code&gt;, verify that &lt;code&gt;-Dfile.encoding=UTF-8&lt;/code&gt; is included.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;standalone.conf|conf.bat&lt;/strong&gt; file in a text editor; it can be found under:&lt;br /&gt;
&lt;pre&gt;&amp;lt;JBOSS_HOME&amp;gt;\bin\&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Verify that &lt;code&gt;&amp;quot;URI_ENC=-Dorg.apache.catalina.connector.URI_ENCODING=UTF-8&amp;quot;&lt;/code&gt; is present.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all&amp;nbsp;versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: July 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-1083 "javax.naming.NameNotFoundException" thrown in reference to data sources during application server startup</title><link>https://community.appian.com/support/w/kb/307/kb-1083-javax-naming-namenotfoundexception-thrown-in-reference-to-data-sources-during-application-server-startup/revision/2</link><pubDate>Tue, 25 Jul 2017 10:56:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b9296c65-2adc-48b6-a13e-38fba84a1a15</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/307/kb-1083-javax-naming-namenotfoundexception-thrown-in-reference-to-data-sources-during-application-server-startup#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Nick Vigilante on 7/25/2017 10:56:45 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When starting Appian, an error message can be seen in the logs where there seems to be an inconsistency in how a character has been typed in a configuration file and how it is read by the application server.&lt;/p&gt;
&lt;p&gt;Examples are given below:&lt;/p&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;javax.naming.NameNotFoundException: While trying to lookup &amp;#39;jdbc.AppianPrimaryDS&amp;#39; didn&amp;#39;t find subcontext &amp;#39;jdbc&amp;#39;. Resolved &amp;#39;&amp;#39;; remaining name &amp;#39;jdbc/AppianPrimaryDS&amp;#39;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;javax.naming.NameNotFoundException: jdbc.AppianPrimaryDS -- service jboss.naming.context.java.&amp;quot;jdbc.AppianPrimaryDS&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;However, in both the above examples, &lt;code&gt;jdbc.AppianPrimaryDS&lt;/code&gt; does not seem to be explicitly defined as such in any configuration file.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The application server is misreading a character in an expression defined in a configuration file. There are different possible reasons for the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A configuration file was modified in Windows (respectively Linux) and transferred to Linux (respectively Windows). Windows internally works with UTF-16 character encoding, whereas Unix-based systems make UTF-8 the default character encoding. Transferring text files between both systems without a common character encoding mechanism can lead to such issues.&lt;/li&gt;
&lt;li&gt;The character encoding for the configuration file in question is not set to UTF-8.&lt;/li&gt;
&lt;li&gt;The application server is set to a different encoding mechanism than UTF-8.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Refer to &lt;a href="https://en.wikipedia.org/wiki/UTF-8"&gt;UTF-8&lt;/a&gt; for more information.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Locate configuration files mentioning the problematic string.&lt;/li&gt;
&lt;li&gt;Manually retype the string using the correct character encoding method. This step needs to be followed in the system where the configuration file is used.&lt;/li&gt;
&lt;li&gt;Save the configuration file in the system used for Appian.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If the character encoding method for the configuration file is not UTF-8, set it to UTF-8.&lt;/p&gt;
&lt;p&gt;By default, the application server should be set to UTF-8. If this isn&amp;#39;t the case, set it to UTF-8. In order to do so, the following step configuration needs to be enabled depending on the application server used:&lt;/p&gt;
&lt;h4 id="weblogic"&gt;WebLogic&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;setDomainEnv.sh|bat&lt;/strong&gt; file in a text editor; it can be found under: &lt;br /&gt;
&lt;pre&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;\user_projects\domains\base_domain\bin\&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Under &lt;code&gt;JAVA_Properties&lt;/code&gt;, verify that &lt;code&gt;-Dfile.encoding=UTF-8&lt;/code&gt; is included.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id="jboss"&gt;JBoss&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;standalone.conf|conf.bat&lt;/strong&gt; file in a text editor; it can be found under:&lt;br /&gt;
&lt;pre&gt;&amp;lt;JBOSS_HOME&amp;gt;\bin\&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Verify that &lt;code&gt;&amp;quot;URI_ENC=-Dorg.apache.catalina.connector.URI_ENCODING=UTF-8&amp;quot;&lt;/code&gt; is present.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all&amp;nbsp;versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: July 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

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