Error creating bean with name 'primaryDataSourceConfig' . What can I do?

I encounter problems in starting an Appian server 17.2. This what I have in output (also the full log > output.log):

The processes are started by appian linux user (start-suite, start search server and jboss/standalone.sh) which is the owner of appian, jboss and repo folders

This is my custom.proprieties with the modified fields:

This is my appian-myslq-ds:

And in standalone.xml I only put the mysql connector:

                    <driver name="com.mysql.jdbc" module="com.mysql.jdbc">
                        <driver-class>com.mysql.jdbc.Driver</driver-class>
                        <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>
                    </driver>

and DS domain:

                <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="myuser"/>
                            <module-option name="password" value="my pass-encrypted"/>
                        </login-module>
                    </authentication>
                </security-domain>

I'm stuck and any suggestion will be highly appreciated. Thanks in advance

  Discussion posts and replies are publicly visible

Parents
  • Looking at this error in your log:

    [0m[0m14:19:42,932 INFO [stdout] (ServerService Thread Pool -- 83) 2017-06-13 14:19:42,930 [ServerService Thread Pool -- 83] ERROR org.hibernate.connection.DatasourceConnectionProvider - Could not find datasource: java:/jdbc/AppianPrimaryDS
    [0m[0m14:19:42,933 INFO [stdout] (ServerService Thread Pool -- 83) javax.naming.NameNotFoundException: jdbc/AppianPrimaryDS -- service jboss.naming.context.java.jdbc.AppianPrimaryDS

    Could you try naming your JNDI name from "jdbc/AppianPrimaryDS" instead of "java:/jdbc/AppianPrimaryDS" ? I'm wondering if the colon is causing the issue.
Reply
  • Looking at this error in your log:

    [0m[0m14:19:42,932 INFO [stdout] (ServerService Thread Pool -- 83) 2017-06-13 14:19:42,930 [ServerService Thread Pool -- 83] ERROR org.hibernate.connection.DatasourceConnectionProvider - Could not find datasource: java:/jdbc/AppianPrimaryDS
    [0m[0m14:19:42,933 INFO [stdout] (ServerService Thread Pool -- 83) javax.naming.NameNotFoundException: jdbc/AppianPrimaryDS -- service jboss.naming.context.java.jdbc.AppianPrimaryDS

    Could you try naming your JNDI name from "jdbc/AppianPrimaryDS" instead of "java:/jdbc/AppianPrimaryDS" ? I'm wondering if the colon is causing the issue.
Children