[ApacheDS] [MINA] Switch to 0.9.0-SNAPSHOT in trunks causes server
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [ApacheDS] [MINA] Switch to 0.9.0-SNAPSHOT in trunks causes server




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-04-05 10: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







[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-04-05 10: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 foun
d 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 7
4 65 6D 80 06 73 65 63 72 65 74
)
at org.apache.mina.handler.DemuxingIoHandler.messageReceived(DemuxingIoHandl
er.java:99)
at org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(Ab
stractIoFilterChain.java:208)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRecei
ved(AbstractIoFilterChain.java:516)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1200(Abstract
IoFilterChain.java:52)
at org.apache.mina.common.support.AbstractIoFilterChain$Entry$1.messageRecei
ved(AbstractIoFilterChain.java:709)
at org.apache.mina.common.support.AbstractIoFilterChain$1.messageReceived(Ab
stractIoFilterChain.java:122)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRecei
ved(AbstractIoFilterChain.java:516)
at org.apache.mina.common.support.AbstractIoFilterChain.messageReceived(Abst
ractIoFilterChain.java:507)
at org.apache.mina.common.support.IoSessionManagerFilterChain$1.messageRecei
ved(IoSessionManagerFilterChain.java:92)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRecei
ved(AbstractIoFilterChain.java:516)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1200(Abstract
IoFilterChain.java:52)
at org.apache.mina.common.support.AbstractIoFilterChain$Entry$1.messageRecei
ved(AbstractIoFilterChain.java:709)
at org.apache.mina.filter.ThreadPoolFilter.processEvent(ThreadPoolFilter.jav
a:617)
at org.apache.mina.filter.ThreadPoolFilter$Worker.processEvents(ThreadPoolFi
lter.java:369)
at org.apache.mina.filter.ThreadPoolFilter$Worker.run(ThreadPoolFilter.java:
319)
^C^C[15:09:28] INFO [org.apache.ldap.server.jndi.ServerContextFactor
y] - Unbind of LDAP Service complete: (SOCKET, ldap, 0.0.0.0/0.0.0.0:10389)

Alex






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:03 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register