Apache Directory Project - [ApacheDS] [MINA] Switch to 0.9.0-SNAPSHOT in trunks causes server

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > November 2005 > [ApacheDS] [MINA] Switch to 0.9.0-SNAPSHOT in trunks causes server





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [ApacheDS] [MINA] Switch to 0.9.0-SNAPSHOT in trunks causes server
Alex Karasulu

2005-11-04, 5:45 pm

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.

Alex


Alex Karasulu

2005-11-04, 5:45 pm

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(AbstractIoFilter
Chain.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(AbstractIoFilter
Chain.java:516)
at org.apache.mina.common.support.AbstractIoFilterChain.messageReceived(AbstractIoFilterChain.java:507)
at org.apache.mina.common.support.IoSessionManagerFilterChain$1. messageReceived(IoSessionManagerFilterCh
ain.java:92)
at org.apache.mina.common.support.AbstractIoFilterChain. callNextMessageReceived(AbstractIoFilter
Chain.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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com