<?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-1267 "Access denied: authentication failed" error thrown in application server log</title><link>https://community.appian.com/support/w/kb/480/kb-1267-access-denied-authentication-failed-error-thrown-in-application-server-log</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1267 "Access denied: authentication failed" error thrown in application server log</title><link>https://community.appian.com/support/w/kb/480/kb-1267-access-denied-authentication-failed-error-thrown-in-application-server-log</link><pubDate>Mon, 23 Jul 2018 17:46:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d79f1693-66b2-4816-b0d3-fac5c9dee8f9</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/480/kb-1267-access-denied-authentication-failed-error-thrown-in-application-server-log#comments</comments><description>Current Revision posted to Appian Knowledge Base by Jordan Horwat on 7/23/2018 5:46:18 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error is present in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR [org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer] (MSC service thread 1-2) Exception during createSubject()PBOX000016: Access denied: authentication failed: java.lang.SecurityException: PBOX000016: Access denied: authentication failed
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This is caused by incorrect Appian data source credentials.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/configuration&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Open &lt;strong&gt;standalone.xml&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Search for the following lines or the ones for the corresponding data source security domain:
&lt;pre&gt;&amp;lt;security-domain name=&amp;quot;ds-name-security-primary&amp;quot; cache-type=&amp;quot;default&amp;quot;&amp;gt;
&amp;lt;authentication&amp;gt;
    &amp;lt;login-module code=&amp;quot;org.picketbox.datasource.security.SecureIdentityLoginModule&amp;quot; flag=&amp;quot;required&amp;quot;&amp;gt;
        &amp;lt;module-option name=&amp;quot;username&amp;quot; value=&amp;quot;ENTER_CORRECT_USERNAME&amp;quot; /&amp;gt;
        &amp;lt;module-option name=&amp;quot;password&amp;quot; value=&amp;quot;ENTER_ENCODED_PASSWORD&amp;quot; /&amp;gt;
    &amp;lt;/login-module&amp;gt;
&amp;lt;/authentication&amp;gt;
&amp;lt;/security-domain&amp;gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Enter the correct username.&lt;/li&gt;
&lt;li&gt;Enter the encoded password (created using the &lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#tools"&gt;Configure Script&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Open the &lt;strong&gt;*-ds.xml&lt;/strong&gt; file containing the data source in question.&lt;/li&gt;
&lt;li&gt;Find the &lt;code&gt;&amp;lt;security&amp;gt;&lt;/code&gt; tag and ensure the value of &lt;code&gt;&amp;lt;security-domain&amp;gt;&lt;/code&gt; is the same as the name attribute of the security domain in &lt;strong&gt;standalone.xml&lt;/strong&gt;. For example:&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;*-ds.xml&lt;/strong&gt;:&lt;/p&gt;
&lt;pre style="padding-left:30px;"&gt;&amp;lt;security&amp;gt;&lt;br /&gt;    &amp;lt;security-domain&amp;gt;ds-name-security-primary&amp;lt;/security-domain&amp;gt; &lt;br /&gt;&amp;lt;/security&amp;gt;&lt;/pre&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;standalone.xml&lt;/strong&gt;:&lt;/p&gt;
&lt;pre style="padding-left:30px;"&gt;&amp;lt;security-domain name=&amp;quot;ds-name-security-primary&amp;quot; cache-type=&amp;quot;default&amp;quot;&amp;gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class="row content_container"&gt;
&lt;p&gt;If you do not see the lines mentioned in step 3, then perform the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Open the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file.&lt;/li&gt;
&lt;li&gt;Search for the following lines:
&lt;pre&gt;&amp;lt;module-option name=&amp;quot;username&amp;quot; value=&amp;quot;ENTER_CORRECT_USERNAME&amp;quot; /&amp;gt;
&amp;lt;module-option name=&amp;quot;password&amp;quot; value=&amp;quot;ENTER_PASSWORD&amp;quot; /&amp;gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Enter the correct username and plaintext password.&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.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;June 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-1267 "Access denied: authentication failed" error thrown in application server log</title><link>https://community.appian.com/support/w/kb/480/kb-1267-access-denied-authentication-failed-error-thrown-in-application-server-log/revision/2</link><pubDate>Wed, 14 Jun 2017 10:53:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d79f1693-66b2-4816-b0d3-fac5c9dee8f9</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/480/kb-1267-access-denied-authentication-failed-error-thrown-in-application-server-log#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Nick Vigilante on 6/14/2017 10:53:48 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error is present in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR [org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer] (MSC service thread 1-2) Exception during createSubject()PBOX000016: Access denied: authentication failed: java.lang.SecurityException: PBOX000016: Access denied: authentication failed
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This is caused by incorrect Appian data source credentials.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/configuration&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Open &lt;strong&gt;standalone.xml&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Search for the following lines or the ones for the corresponding data source security domain:
&lt;pre&gt;&amp;lt;security-domain name=&amp;quot;ds-name-security-primary&amp;quot; cache-type=&amp;quot;default&amp;quot;&amp;gt;
&amp;lt;authentication&amp;gt;
    &amp;lt;login-module code=&amp;quot;org.picketbox.datasource.security.SecureIdentityLoginModule&amp;quot; flag=&amp;quot;required&amp;quot;&amp;gt;
        &amp;lt;module-option name=&amp;quot;username&amp;quot; value=&amp;quot;ENTER_CORRECT_USERNAME&amp;quot; /&amp;gt;
        &amp;lt;module-option name=&amp;quot;password&amp;quot; value=&amp;quot;ENTER_ENCODED_PASSWORD&amp;quot; /&amp;gt;
    &amp;lt;/login-module&amp;gt;
&amp;lt;/authentication&amp;gt;
&amp;lt;/security-domain&amp;gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Enter the correct username.&lt;/li&gt;
&lt;li&gt;Enter the encoded password (created using the &lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#tools"&gt;Configure Script&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Open the &lt;strong&gt;*-ds.xml&lt;/strong&gt; file containing the data source in question.&lt;/li&gt;
&lt;li&gt;Find the &lt;code&gt;&amp;lt;security&amp;gt;&lt;/code&gt; tag and ensure the value of &lt;code&gt;&amp;lt;security-domain&amp;gt;&lt;/code&gt; is the same as the name attribute of the security domain in &lt;strong&gt;standalone.xml&lt;/strong&gt;. For example:&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;*-ds.xml&lt;/strong&gt;:&lt;/p&gt;
&lt;pre style="padding-left:30px;"&gt;&amp;lt;security&amp;gt;&lt;br /&gt;    &amp;lt;security-domain&amp;gt;ds-name-security-primary&amp;lt;/security-domain&amp;gt; &lt;br /&gt;&amp;lt;/security&amp;gt;&lt;/pre&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;standalone.xml&lt;/strong&gt;:&lt;/p&gt;
&lt;pre style="padding-left:30px;"&gt;&amp;lt;security-domain name=&amp;quot;ds-name-security-primary&amp;quot; cache-type=&amp;quot;default&amp;quot;&amp;gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class="row content_container"&gt;
&lt;p&gt;If you do not see the lines mentioned in step 3, then perform the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;JBOSS_HOME&amp;gt;/standalone/deployments&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Open the &lt;strong&gt;appian-ds.xml&lt;/strong&gt; file.&lt;/li&gt;
&lt;li&gt;Search for the following lines:
&lt;pre&gt;&amp;lt;module-option name=&amp;quot;username&amp;quot; value=&amp;quot;ENTER_CORRECT_USERNAME&amp;quot; /&amp;gt;
&amp;lt;module-option name=&amp;quot;password&amp;quot; value=&amp;quot;ENTER_PASSWORD&amp;quot; /&amp;gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Enter the correct username and plaintext password.&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.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;June 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>