The following error is present in the application server log:
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
This is caused by incorrect Appian data source credentials.
<JBOSS_HOME>/standalone/configuration
<security-domain name="ds-name-security-primary" cache-type="default"> <authentication> <login-module code="org.picketbox.datasource.security.SecureIdentityLoginModule" flag="required"> <module-option name="username" value="ENTER_CORRECT_USERNAME" /> <module-option name="password" value="ENTER_ENCODED_PASSWORD" /> </login-module> </authentication> </security-domain>
<JBOSS_HOME>/standalone/deployments
<security>
<security-domain>
*-ds.xml:
<security> <security-domain>ds-name-security-primary</security-domain> </security>
standalone.xml:
<security-domain name="ds-name-security-primary" cache-type="default">
If you do not see the lines mentioned in step 3, then perform the following:
<module-option name="username" value="ENTER_CORRECT_USERNAME" /> <module-option name="password" value="ENTER_PASSWORD" />
This article applies to all versions of Appian.
Last Reviewed: June 2017