Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
13 replies
Subscribers
9 subscribers
Views
2894 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
#Installation and Administration >> Trying to install Appian 7.
vamsib
over 8 years ago
#Installation and Administration
>> Trying to install Appian 7.10 using configure script
>> Application Server not able to connect to the database with the below error , verified appian-ds.xml and custom.properties file related to datasource.
03:52:39,433 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/suite]] (ServerService Thread Pool -- 79) JBWEB000287: Exception sending context initialized event to listener instance of class com.appiancorp.common.config.ConfigurationLoader: com.appiancorp.common.config.FatalConfigurationException: com.appiancorp.suiteapi.common.exceptions.AppianException: An unexpected error occurred while trying to initialize and validate the primary data source. (APNX-1-4179-004)
04:05:15,438 ERROR [org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer] (MSC service thread 1-1) Exception during createSubject()PBOX000016: Access denied: authen...
server.7z
OriginalPostID-163291
OriginalPostID-163291
Discussion posts and replies are publicly visible
Parents
0
Tom Ryan
Appian Employee
over 8 years ago
You need to update the modules
<security-domain name="ds-name-security-primary" cache-type="default">
and
<security-domain name="ds-name-security-business" cache-type="default">
with the correct username and encoded password.
E.g. if you have in your appian-ds.xml:
<security>
<security-domain>XXX</security-domain>
</security>
then you should have a module in your standalone.xml:
<security-domain name="XXX" cache-type="default">
<authentication>
<login-module code="org.picketbox.datasource.security.SecureIdentityLoginModule" flag="required">
<module-option name="username" value="<USERNAME FOR THIS DATASOURCE>" />
<module-option name="<ENCODED PASSWORD>" value="MyEncodedPassword" />
</login-module>
</authentication>
</security-domain>
Read the docs for more details:
forum.appian.com/.../Configuring_Relational_Databases.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Tom Ryan
Appian Employee
over 8 years ago
You need to update the modules
<security-domain name="ds-name-security-primary" cache-type="default">
and
<security-domain name="ds-name-security-business" cache-type="default">
with the correct username and encoded password.
E.g. if you have in your appian-ds.xml:
<security>
<security-domain>XXX</security-domain>
</security>
then you should have a module in your standalone.xml:
<security-domain name="XXX" cache-type="default">
<authentication>
<login-module code="org.picketbox.datasource.security.SecureIdentityLoginModule" flag="required">
<module-option name="username" value="<USERNAME FOR THIS DATASOURCE>" />
<module-option name="<ENCODED PASSWORD>" value="MyEncodedPassword" />
</login-module>
</authentication>
</security-domain>
Read the docs for more details:
forum.appian.com/.../Configuring_Relational_Databases.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data