On Fri, Sep 26, 2014 at 11:16 AM, Sebastian Oerding < [email protected]> wrote:
> Hello, > > I used exactly the shown code, disabling the Interceptor (by removing the > code which includes it) and get the error previously mentioned. > To make it more clear: The provided code is the minimal code or close to > the minimal code which produced the error on my machine. Maybe I could even > remove disabling the changelog, registering the shutdown hook and so but I > have not tested removing every single line. > > Furthermore the shown error seems to be similar to the one described in > the ticket https://issues.apache.org/jira/browse/DIRSERVER-1864 > . If you used a partition or do any change to the provided code and the > problem vanished, please show me your code. The problem may be due to a > simple misconfiguration in my code but I do not get it. > > Furthermore if I change to code simply by using the Apache DS on another > host (port:10389 and another host instead of localhost) everything is fine. > > Please tell me whether you used an embedded Apache DS by using localhost / > a different port and what kind of operating system. > > I have used the exact copy of code that you have provided earlier, except the below statement searchCertificate(ctx, "ou=system", SearchControls.SUBTREE_SCOPE, "033E07C49E8AF56994859466BEBFAA9057A36924"); in which I used "ou=system" cause I haven't created "ou=certificates,dc=smpki" partition. With regards > Sebastian > > Am 25.09.2014 19:15, schrieb Kiran Ayyagari: > > I didn't find anything wrong with the below given code (I tested with > "ou=system" partition) > > I believe you included your custom interceptor in the below code while > running, if that is the case > then I need to see your custom interceptor's code as well to figure out > what is causing the below > mentioned error > > -- Kiran Ayyagari http://keydap.com
