<?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-1009 "Could not find datasource" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/235/kb-1009-could-not-find-datasource-error-thrown-during-jboss-startup</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1009 "Could not find datasource" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/235/kb-1009-could-not-find-datasource-error-thrown-during-jboss-startup</link><pubDate>Mon, 15 Oct 2018 13:51:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:afc060b4-0328-41c8-84dd-82a73fa2a0b6</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/235/kb-1009-could-not-find-datasource-error-thrown-during-jboss-startup#comments</comments><description>Current Revision posted to Appian Knowledge Base by Jordan Horwat on 10/15/2018 1:51:04 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;In some instances, JBoss fails to start up and the login page is not displayed when attempting to access Appian. In addition, the application server log contains the following message:&lt;/p&gt;
&lt;pre&gt;Could not find datasource: jdbc/AppianPrimaryDS
...
javax.naming.NameNotFoundException: jdbc/AppianPrimaryDS
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;h3&gt;JBoss&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that is not in the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file. The data source details may not be configured in &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file at all.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that does not match what is in the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file. There could be a spelling error.&lt;/li&gt;
&lt;li&gt;Either the &lt;strong&gt;custom.properties&lt;/strong&gt; file or the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file is using Java context (but not both), causing the inconsistency.&lt;/li&gt;
&lt;li&gt;JBoss did not deploy the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file due to the presence of either an &lt;strong&gt;appian-ds.xml.failed&lt;/strong&gt; or &lt;strong&gt;appian-ds.xml.undeployed&lt;/strong&gt; marker file in the &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt; folder.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To confirm if JBoss is not deploying the data source properly, check for the following message in the application server log:&lt;/p&gt;
&lt;pre&gt;JBAS010400: Bound data source [java:/jdbc/AppianPrimaryDS]
&lt;/pre&gt;
If this message is not present, it means that the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file is not visible to Appian and it was never deployed to JBoss. In this case, it does not matter whether or not the JNDI names in &lt;strong&gt;custom.properties&lt;/strong&gt; and &lt;strong&gt;appian-ds.xml&lt;/strong&gt; match.&lt;/div&gt;
&lt;h3 class="row content_container"&gt;Tomcat&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that is not in the &lt;strong&gt;suite.xml&lt;/strong&gt; file. The data source details may not be configured in &lt;strong&gt;suite.xml&lt;/strong&gt; file at all.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that does not match what is in the &lt;strong&gt;suite.xml&lt;/strong&gt; file. There could be a spelling error.&lt;/li&gt;
&lt;li&gt;Either the &lt;strong&gt;custom.properties&lt;/strong&gt; file or the &lt;strong&gt;suite.xml&lt;/strong&gt; file is using Java context (but not both), causing the inconsistency.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;h3&gt;JBoss&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Stop JBoss.&lt;/li&gt;
&lt;li&gt;Stop the Appian engines.&lt;/li&gt;
&lt;li&gt;Make sure the &lt;strong&gt;appian-ds.xml.dodeploy&lt;/strong&gt; file is present in &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Verify the names are correct in both &lt;strong&gt;custom.properties&lt;/strong&gt; and &lt;strong&gt;appian-ds.xml&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt;, check to see if there is an &lt;strong&gt;appian-ds.xml.failed&lt;/strong&gt; or &lt;strong&gt;appian-ds.xml.undeployed&lt;/strong&gt; file. If there is, rename it to &lt;strong&gt;appian-ds.xml.dodeploy&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear&lt;/code&gt;, check to see if there is an &lt;strong&gt;suite.ear.failed&lt;/strong&gt; file. If there is, rename it to &lt;strong&gt;suite.ear.dodeploy&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Start the Appian engines.&lt;/li&gt;
&lt;li&gt;Start JBoss.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 class="row content_container"&gt;Tomcat&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Stop Tomcat.&lt;/li&gt;
&lt;li&gt;Stop the Appian engines.&lt;/li&gt;
&lt;li&gt;Verify the names are correct in both &lt;strong&gt;custom.properties&lt;/strong&gt; and&amp;nbsp;&lt;strong&gt;suite.xml.&lt;/strong&gt;&amp;nbsp;If you plan to use the configure script to deploy configuration from repo to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;&lt;/code&gt;, ensure that the datasource name is correct in&amp;nbsp;&lt;strong&gt;tomcatResouce.xml.&amp;lt;ENVIRONMENT_NAME&amp;gt;&lt;/strong&gt;&amp;nbsp;file.&lt;/li&gt;
&lt;li&gt;Start the Appian engiens.&lt;/li&gt;
&lt;li&gt;Start Tomcat.&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 versions of Appian using JBoss EAP or Tomcat as an application server.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;October 2018&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>KB-1009 "Could not find datasource" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/235/kb-1009-could-not-find-datasource-error-thrown-during-jboss-startup/revision/4</link><pubDate>Mon, 15 Oct 2018 13:50:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:afc060b4-0328-41c8-84dd-82a73fa2a0b6</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/235/kb-1009-could-not-find-datasource-error-thrown-during-jboss-startup#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Jordan Horwat on 10/15/2018 1:50:21 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;In some instances, JBoss fails to start up and the login page is not displayed when attempting to access Appian. In addition, the application server log contains the following message:&lt;/p&gt;
&lt;pre&gt;Could not find datasource: jdbc/AppianPrimaryDS
...
javax.naming.NameNotFoundException: jdbc/AppianPrimaryDS
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;h3&gt;JBoss&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that is not in the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file. The data source details may not be configured in &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file at all.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that does not match what is in the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file. There could be a spelling error.&lt;/li&gt;
&lt;li&gt;Either the &lt;strong&gt;custom.properties&lt;/strong&gt; file or the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file is using Java context (but not both), causing the inconsistency.&lt;/li&gt;
&lt;li&gt;JBoss did not deploy the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file due to the presence of either an &lt;strong&gt;appian-ds.xml.failed&lt;/strong&gt; or &lt;strong&gt;appian-ds.xml.undeployed&lt;/strong&gt; marker file in the &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt; folder.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To confirm if JBoss is not deploying the data source properly, check for the following message in the application server log:&lt;/p&gt;
&lt;pre&gt;JBAS010400: Bound data source [java:/jdbc/AppianPrimaryDS]
&lt;/pre&gt;
If this message is not present, it means that the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file is not visible to Appian and it was never deployed to JBoss. In this case, it does not matter whether or not the JNDI names in &lt;strong&gt;custom.properties&lt;/strong&gt; and &lt;strong&gt;appian-ds.xml&lt;/strong&gt; match.&lt;/div&gt;
&lt;h3 class="row content_container"&gt;Tomcat&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that is not in the &lt;strong&gt;suite.xml&lt;/strong&gt; file. The data source details may not be configured in &lt;strong&gt;suite.xml&lt;/strong&gt; file at all.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that does not match what is in the &lt;strong&gt;suite.xml&lt;/strong&gt; file. There could be a spelling error.&lt;/li&gt;
&lt;li&gt;Either the &lt;strong&gt;custom.properties&lt;/strong&gt; file or the &lt;strong&gt;suite.xml&lt;/strong&gt; file is using Java context (but not both), causing the inconsistency.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;h3&gt;JBoss&lt;/h3&gt;
&lt;p&gt;To resolve the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stop JBoss.&lt;/li&gt;
&lt;li&gt;Stop the Appian engines.&lt;/li&gt;
&lt;li&gt;Make sure the &lt;strong&gt;appian-ds.xml.dodeploy&lt;/strong&gt; file is present in &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Verify the names are correct in both &lt;strong&gt;custom.properties&lt;/strong&gt; and &lt;strong&gt;appian-ds.xml&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt;, check to see if there is an &lt;strong&gt;appian-ds.xml.failed&lt;/strong&gt; or &lt;strong&gt;appian-ds.xml.undeployed&lt;/strong&gt; file. If there is, rename it to &lt;strong&gt;appian-ds.xml.dodeploy&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear&lt;/code&gt;, check to see if there is an &lt;strong&gt;suite.ear.failed&lt;/strong&gt; file. If there is, rename it to &lt;strong&gt;suite.ear.dodeploy&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Start the Appian engines.&lt;/li&gt;
&lt;li&gt;Start JBoss.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 class="row content_container"&gt;Tomcat&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Stop Tomcat.&lt;/li&gt;
&lt;li&gt;Stop the Appian engines.&lt;/li&gt;
&lt;li&gt;Verify the names are correct in both &lt;strong&gt;custom.properties&lt;/strong&gt; and&amp;nbsp;&lt;strong&gt;suite.xml.&lt;/strong&gt;&amp;nbsp;If you plan to use the configure script to deploy configuration from repo to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;&lt;/code&gt;, ensure that the datasource name is correct in&amp;nbsp;&lt;strong&gt;tomcatResouce.xml.&amp;lt;ENVIRONMENT_NAME&amp;gt;&lt;/strong&gt;&amp;nbsp;file.&lt;/li&gt;
&lt;li&gt;Start the Appian engiens.&lt;/li&gt;
&lt;li&gt;Start Tomcat.&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 versions of Appian using JBoss EAP or Tomcat as an application server.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;October 2018&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>KB-1009 "Could not find datasource" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/235/kb-1009-could-not-find-datasource-error-thrown-during-jboss-startup/revision/3</link><pubDate>Mon, 15 Oct 2018 13:50:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:afc060b4-0328-41c8-84dd-82a73fa2a0b6</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/235/kb-1009-could-not-find-datasource-error-thrown-during-jboss-startup#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Jordan Horwat on 10/15/2018 1:50:00 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;In some instances, JBoss fails to start up and the login page is not displayed when attempting to access Appian. In addition, the application server log contains the following message:&lt;/p&gt;
&lt;pre&gt;Could not find datasource: jdbc/AppianPrimaryDS
...
javax.naming.NameNotFoundException: jdbc/AppianPrimaryDS
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are possible causes for this issue:&lt;/p&gt;
&lt;h3&gt;JBoss&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that is not in the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file. The data source details may not be configured in &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file at all.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that does not match what is in the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file. There could be a spelling error.&lt;/li&gt;
&lt;li&gt;Either the &lt;strong&gt;custom.properties&lt;/strong&gt; file or the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file is using Java context (but not both), causing the inconsistency.&lt;/li&gt;
&lt;li&gt;JBoss did not deploy the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file due to the presence of either an &lt;strong&gt;appian-ds.xml.failed&lt;/strong&gt; or &lt;strong&gt;appian-ds.xml.undeployed&lt;/strong&gt; marker file in the &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt; folder.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To confirm if JBoss is not deploying the data source properly, check for the following message in the application server log:&lt;/p&gt;
&lt;pre&gt;JBAS010400: Bound data source [java:/jdbc/AppianPrimaryDS]
&lt;/pre&gt;
If this message is not present, it means that the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file is not visible to Appian and it was never deployed to JBoss. In this case, it does not matter whether or not the JNDI names in &lt;strong&gt;custom.properties&lt;/strong&gt; and &lt;strong&gt;appian-ds.xml&lt;/strong&gt; match.&lt;/div&gt;
&lt;h3 class="row content_container"&gt;Tomcat&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that is not in the &lt;strong&gt;suite.xml&lt;/strong&gt; file. The data source details may not be configured in &lt;strong&gt;suite.xml&lt;/strong&gt; file at all.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that does not match what is in the &lt;strong&gt;suite.xml&lt;/strong&gt; file. There could be a spelling error.&lt;/li&gt;
&lt;li&gt;Either the &lt;strong&gt;custom.properties&lt;/strong&gt; file or the &lt;strong&gt;suite.xml&lt;/strong&gt; file is using Java context (but not both), causing the inconsistency.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;h3&gt;JBoss&lt;/h3&gt;
&lt;p&gt;To resolve the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stop JBoss.&lt;/li&gt;
&lt;li&gt;Stop the Appian engines.&lt;/li&gt;
&lt;li&gt;Make sure the &lt;strong&gt;appian-ds.xml.dodeploy&lt;/strong&gt; file is present in &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Verify the names are correct in both &lt;strong&gt;custom.properties&lt;/strong&gt; and &lt;strong&gt;appian-ds.xml&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt;, check to see if there is an &lt;strong&gt;appian-ds.xml.failed&lt;/strong&gt; or &lt;strong&gt;appian-ds.xml.undeployed&lt;/strong&gt; file. If there is, rename it to &lt;strong&gt;appian-ds.xml.dodeploy&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear&lt;/code&gt;, check to see if there is an &lt;strong&gt;suite.ear.failed&lt;/strong&gt; file. If there is, rename it to &lt;strong&gt;suite.ear.dodeploy&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Start the Appian engines.&lt;/li&gt;
&lt;li&gt;Start JBoss.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 class="row content_container"&gt;Tomcat&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Stop Tomcat.&lt;/li&gt;
&lt;li&gt;Stop the Appian engines.&lt;/li&gt;
&lt;li&gt;Verify the names are correct in both &lt;strong&gt;custom.properties&lt;/strong&gt; and&amp;nbsp;&lt;strong&gt;suite.xml.&lt;/strong&gt;&amp;nbsp;If you plan to use the configure script to deploy configuration from repo to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;&lt;/code&gt;, ensure that the datasource name is correct in&amp;nbsp;&lt;strong&gt;tomcatResouce.xml.&amp;lt;ENVIRONMENT_NAME&amp;gt;&lt;/strong&gt;&amp;nbsp;file.&lt;/li&gt;
&lt;li&gt;Start the Appian engiens.&lt;/li&gt;
&lt;li&gt;Start Tomcat.&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 versions of Appian using JBoss EAP or Tomcat as an application server.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;October 2018&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>KB-1009 "Could not find datasource" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/235/kb-1009-could-not-find-datasource-error-thrown-during-jboss-startup/revision/2</link><pubDate>Mon, 30 Jul 2018 04:12:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:afc060b4-0328-41c8-84dd-82a73fa2a0b6</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/235/kb-1009-could-not-find-datasource-error-thrown-during-jboss-startup#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Parmida Borhani on 7/30/2018 4:12:50 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;In some instances, JBoss fails to start up and the login page is not displayed when attempting to access Appian. In addition, the application server log contains the following message:&lt;/p&gt;
&lt;pre&gt;Could not find datasource: jdbc/AppianPrimaryDS
...
javax.naming.NameNotFoundException: jdbc/AppianPrimaryDS
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are possible causes for this issue:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that is not in the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file. The data source details may not be configured in &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file at all.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that does not match what is in the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file. There could be a spelling error.&lt;/li&gt;
&lt;li&gt;Either the &lt;strong&gt;custom.properties&lt;/strong&gt; file or the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file is using Java context (but not both), causing the inconsistency.&lt;/li&gt;
&lt;li&gt;JBoss did not deploy the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file due to the presence of either an &lt;strong&gt;appian-ds.xml.failed&lt;/strong&gt; or &lt;strong&gt;appian-ds.xml.undeployed&lt;/strong&gt; marker file in the &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt; folder.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To confirm if JBoss is not deploying the data source properly, check for the following message in the application server log:&lt;/p&gt;
&lt;pre&gt;JBAS010400: Bound data source [java:/jdbc/AppianPrimaryDS]
&lt;/pre&gt;
If this message is not present, it means that the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file is not visible to Appian and it was never deployed to JBoss. In this case, it does not matter whether or not the JNDI names in &lt;strong&gt;custom.properties&lt;/strong&gt; and &lt;strong&gt;appian-ds.xml&lt;/strong&gt; match.
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stop JBoss.&lt;/li&gt;
&lt;li&gt;Stop the Appian engines.&lt;/li&gt;
&lt;li&gt;Make sure the &lt;strong&gt;appian-ds.xml.dodeploy&lt;/strong&gt; file is present in &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Verify the names are correct in both &lt;strong&gt;custom.properties&lt;/strong&gt; and &lt;strong&gt;appian-ds.xml&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt;, check to see if there is an &lt;strong&gt;appian-ds.xml.failed&lt;/strong&gt; or &lt;strong&gt;appian-ds.xml.undeployed&lt;/strong&gt; file. If there is, rename it to &lt;strong&gt;appian-ds.xml.dodeploy&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear&lt;/code&gt;, check to see if there is an &lt;strong&gt;suite.ear.failed&lt;/strong&gt; file. If there is, rename it to &lt;strong&gt;suite.ear.dodeploy&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Start the Appian engines.&lt;/li&gt;
&lt;li&gt;Start JBoss.&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 versions of Appian using JBoss EAP as an application server.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;February 2017&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>KB-1009 "Could not find datasource" error thrown during JBoss startup</title><link>https://community.appian.com/support/w/kb/235/kb-1009-could-not-find-datasource-error-thrown-during-jboss-startup/revision/1</link><pubDate>Thu, 09 Feb 2017 22:41:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:afc060b4-0328-41c8-84dd-82a73fa2a0b6</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/235/kb-1009-could-not-find-datasource-error-thrown-during-jboss-startup#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 2/9/2017 10:41:59 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;In some instances, JBoss fails to start up and the login page is not displayed when attempting to access Appian. In addition, the application server log contains the following message:&lt;/p&gt;
&lt;pre&gt;Could not find datasource: jdbc/AppianPrimaryDS
...
javax.naming.NameNotFoundException: jdbc/AppianPrimaryDS
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are possible causes for this issue:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that is not in the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file. The data source details may not be configured in &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file at all.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;custom.properties&lt;/strong&gt; file is using a JNDI name that does not match what is in the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file. There could be a spelling error.&lt;/li&gt;
&lt;li&gt;Either the &lt;strong&gt;custom.properties&lt;/strong&gt; file or the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file is using Java context (but not both), causing the inconsistency.&lt;/li&gt;
&lt;li&gt;JBoss did not deploy the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file due to the presence of either an &lt;strong&gt;appian-ds.xml.failed&lt;/strong&gt; or &lt;strong&gt;appian-ds.xml.undeployed&lt;/strong&gt; marker file in the &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt; folder.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To confirm if JBoss is not deploying the data source properly, check for the following message in the application server log:&lt;/p&gt;
&lt;pre&gt;JBAS010400: Bound data source [java:/jdbc/AppianPrimaryDS]
&lt;/pre&gt;
If this message is not present, it means that the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file is not visible to Appian and it was never deployed to JBoss. In this case, it does not matter whether or not the JNDI names in &lt;strong&gt;custom.properties&lt;/strong&gt; and &lt;strong&gt;appian-ds.xml&lt;/strong&gt; match.
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stop JBoss.&lt;/li&gt;
&lt;li&gt;Stop the Appian engines.&lt;/li&gt;
&lt;li&gt;Make sure the &lt;strong&gt;appian-ds.xml.dodeploy&lt;/strong&gt; file is present in &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Verify the names are correct in both &lt;strong&gt;custom.properties&lt;/strong&gt; and &lt;strong&gt;appian-ds.xml&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt;, check to see if there is an &lt;strong&gt;appian-ds.xml.failed&lt;/strong&gt; or &lt;strong&gt;appian-ds.xml.undeployed&lt;/strong&gt; file. If there is, rename it to &lt;strong&gt;appian-ds.xml.dodeploy&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear&lt;/code&gt;, check to see if there is an &lt;strong&gt;suite.ear.failed&lt;/strong&gt; file. If there is, rename it to &lt;strong&gt;suite.ear.dodeploy&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Start the Appian engines.&lt;/li&gt;
&lt;li&gt;Start JBoss.&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 versions of Appian using JBoss EAP as an application server.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;February 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

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