Directory.
bascially, rebuilding Apache LDAP API with Java 8 did the trick.
The pb was due to an exception caused by an API change in Java 9,
related to ByteBuffer (see
https://www.morling.dev/blog/bytebuffer-and-the-dreaded-nosuchmethoderror/)
which was causing an exception to be thrown, and the LDAP API handler
was then tryingh to send a NoticeOfDisconnect message to the remote
peer, which obviously ended in another exception to be thrown
(ByteBuffer missing method), and voilà, infinite loop.
On 11/08/2022 03:29, Jonathan Valliere wrote:
Was the fix in Mina or Directory?
On Wed, Aug 10, 2022 at 5:34 AM Emmanuel Lécharny <[email protected]
<mailto:[email protected]>> wrote:
I confirm. I built the LDAP API with Java 11 targetting Java 8, but
it's
not enough.
Fixed in trunk.
On 30/07/2022 10:23, Emmanuel Lécharny wrote:
> Seems like it's an issue with a mixed Java version being used:
the lib
> built with Java 11 and running tests in Java 8, or something like
that.
>
> Still investigating.
>
> On 30/07/2022 10:03, Emmanuel Lécharny wrote:
>> Hi,
>>
>>
>> I'm currently investiagting some infinite loop in Apache DS when
>> setting up a LDAPS server. I have no idea what's going on atm -
but I
>> will keep you posted.
>>
>>
>> Here is the trace I get when doing a kill -3:
>>
>>
>> "NioProcesso--
> *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
> T. +33 (0)4 89 97 36 50
> P. +33 (0)6 08 33 32 61
> [email protected] <mailto:[email protected]>
https://www.busit.com/ <https://www.busit.com/>
--
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
[email protected] <mailto:[email protected]>
https://www.busit.com/ <https://www.busit.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
<mailto:[email protected]>
For additional commands, e-mail: [email protected]
<mailto:[email protected]>
--
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
[email protected] https://www.busit.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]