Le 2/8/14 2:30 PM, Vadivel M a écrit :
> Hi,
>
> I tried to create a connection using LDAP API as follows,
>
> LdapNetworkConnection connection = new
> LdapNetworkConnection("localhost",10389);
>
>
>
> I get the following error
>
> at
> org.apache.directory.ldap.client.api.LdapConnectionConfig.setDefaultTrustMan
> ager(LdapConnectionConfig.java:134)
>
> at
> org.apache.directory.ldap.client.api.LdapConnectionConfig.<init>(LdapConnect
> ionConfig.java:110)
>
> at
> org.apache.directory.ldap.client.api.LdapNetworkConnection.<init>(LdapNetwor
> kConnection.java:445)
Provide the full stack trace, otherwise there is little we can do to help.
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com