6 Replies Latest reply on Nov 8, 2016 11:26 PM by debashishsaha004

    Error while setting up a new resource adapter in Jboss DV

    debashishsaha004

      Hi,

      I tried to make a new resource adapter using management console.all the attribute were successfully reflected in standalone.xml file.pic1.PNG

      <security-domain name="JCI" cache-type="default">
                          <authentication>
                              <login-module code="org.picketbox.datasource.security.CallerIdentityLoginModule" flag="required">
                                  <module-option name="password-stacking" value="useFirstPass"/>
                                  <module-option name="username" value="*****My_User*******"/>
                                  <module-option name="password" value="*********My_PWD********"/>
                              </login-module>
                          </authentication>
                      </security-domain>
      

       

       

       

       

       

      Here is the resource adapter

       

       

      <resource-adapter id="jci_hive">
                          <archive>
                              teiid-connector-ldap.rar
                          </archive>
                          <transaction-support>NoTransaction</transaction-support>
                          <connection-definitions>
                              <connection-definition class-name="org.teiid.resource.adapter.ldap.LDAPManagedConnectionFactory" jndi-name="java:/ldapDS" enabled="true" pool-name="jci_hive">
                                  <config-property name="LdapAdminUserPassword">
                                      *******MY_LDAP_PWD******
                                  </config-property>
                                  <config-property name="LdapTxnTimeoutInMillis">
                                      -1
                                  </config-property>
                                  <config-property name="LdapUrl">
                                      ldap://MY_host_name:389/
                                  </config-property>
                                  <config-property name="LdapAdminUserDN">
                                      CN=A123123,OU=abc,OU=def,OU=ghi,DC=mycompany,DC=com
                                  </config-property>
                                  <security>
                                      <application/>
                                      <security-domain>JCI</security-domain>
                                  </security>
                                  <validation>
                                      <background-validation>false</background-validation>
                                  </validation>
                              </connection-definition>
                          </connection-definitions>
                      </resource-adapter>
      

       

      when I restarted the server I am getting the following error.Please have a look at the server log attached herewith.

      From the log what I am understanding that the server is not getting these parameters LDAPurl,password etc.

      Can anyone of  you please help me out on this issue.

       

       

      Thank you

      Debashish Saha