directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Nguyen" <sngu...@advantco.com>
Subject RE: [Community] LDAP client API as OSGi bundle
Date Thu, 07 Jan 2016 08:55:51 GMT
Hi Emmanuel,

There's no log records when it is bundled in Camel component. I hope that I could retrieve
the runtime log from the server but I had no luck.
I checked if the connection was opened successfully or not via the method connect() (e.g.
connected = conn.connect();) and its value is "false".
I created a non-encrypted connection to LDAP server (e.g. I created LdapConnectionConfiguration
object, passed some standard parameters, then I created an LdapNetworkConnection with the
connection config and opened the connection).
I tested my program with a simple test class and it works.

Best Regards,

Steven Nguyen
-----Original Message-----
From: Emmanuel Lécharny [mailto:elecharny@gmail.com] 
Sent: Thursday, January 7, 2016 3:15 PM
To: api@directory.apache.org
Subject: Re: [Community] LDAP client API as OSGi bundle

Le 07/01/16 08:55, Steven Nguyen a écrit :
> Hi All,
>
>  
>
> Does anyone have experience in using client API as a bundle library in 
> Camel component?
>
> I'm trying to build a simple Camel component to send/receive data from 
> an LDAP server but it does not work.
>
> The library cannot connect to LDAP server but it does not throw out 
> any exception.

Do you have some logs ?

Also how do you use the connection ?



Mime
View raw message