directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <aok...@bellsouth.net>
Subject Re: [ApacheDS] [MINA] Switch to 0.9.0-SNAPSHOT in trunks causes server to hang
Date Fri, 04 Nov 2005 21:40:43 GMT
Alex Karasulu wrote:

> Got a serious problem here.  The server hangs now that we upgraded the 
> LDAP protocol provider to 0.9.0-SNAPSHOT in the network trunk.
> Any ideas?  All unit tests that go through the LDAP wire protocol hang 
> now.  These tests are in server-unit.  I'll keep debugging.

More info:

Looks like the DemuxingIoHandler is sending a ByteBuffer to the 
LdapIoHandler in the LDAP protocol provider.   Perhaps the decoders are 
getting bypassed.  The result is an UnknownMessageTypeException when the 
Demux handler cannot find a handler for the ByteBuffer.  Below is a 
stack trace showing this:

org.apache.mina.handler.UnknownMessageTypeException: No message handler found for message:
java.nio.DirectByteBuffer[pos=0 lim=39 cap=64] (30 25 02 01 01 60 20 02 01 03 04 13 75 69
64 3D 61 64 6D 69 6E 2C 6F 75 3D 73 79 73 74 65 6D 80 06 73 65 63 72 65 74)
        at org.apache.mina.handler.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:99)
        at org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(AbstractIoFilterChain.java:208)
        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:516)
        at org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:52)
        at org.apache.mina.common.support.AbstractIoFilterChain$Entry$1.messageReceived(AbstractIoFilterChain.java:709)
        at org.apache.mina.common.support.AbstractIoFilterChain$1.messageReceived(AbstractIoFilterChain.java:122)
        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:516)
        at org.apache.mina.common.support.AbstractIoFilterChain.messageReceived(AbstractIoFilterChain.java:507)
        at org.apache.mina.common.support.IoSessionManagerFilterChain$1.messageReceived(IoSessionManagerFilterChain.java:92)
        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:516)
        at org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:52)
        at org.apache.mina.common.support.AbstractIoFilterChain$Entry$1.messageReceived(AbstractIoFilterChain.java:709)
        at org.apache.mina.filter.ThreadPoolFilter.processEvent(ThreadPoolFilter.java:617)
        at org.apache.mina.filter.ThreadPoolFilter$Worker.processEvents(ThreadPoolFilter.java:369)
        at org.apache.mina.filter.ThreadPoolFilter$Worker.run(ThreadPoolFilter.java:319)
^C^C[15:09:28] INFO [org.apache.ldap.server.jndi.ServerContextFactory] - Unbind of LDAP Service
complete: (SOCKET, ldap, 0.0.0.0/0.0.0.0:10389)

Alex

Mime
View raw message