directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <aok...@bellsouth.net>
Subject [Mitosis] Got far stuck on MINA problem
Date Sat, 04 Nov 2006 12:45:45 GMT
Hi Trustin,

Now I'm stuck getting this MINA exception which seems to point at too 
many protocol codecs for a filter chain:

[20:17:07] WARN 
[org.apache.directory.mitosis.service.protocol.handler.ReplicationServerProtocolHandler] 
- [/127.0.0.1:34183] Unexpected exception.
org.apache.mina.common.IoFilterLifeCycleException: onPreAdd(): 
codec:org.apache.mina.filter.codec.ProtocolCodecFilter@1787005 in 
(SOCKET, R: /127.0.0.1:34183, L: /127.0.0.1:7846, S: 0.0.0.0/0.0.0.0:7846)
         at 
org.apache.mina.common.support.AbstractIoFilterChain.register(AbstractIoFilterChain.java:319)
         at 
org.apache.mina.common.support.AbstractIoFilterChain.addLast(AbstractIoFilterChain.java:271)
         at 
org.apache.directory.mitosis.service.protocol.handler.ReplicationProtocolHandler.sessionCreated(ReplicationProtocolHandler.java:68)
         at 
org.apache.mina.common.support.AbstractIoFilterChain$2.sessionCreated(AbstractIoFilterChain.java:152)
         at 
org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionCreated(AbstractIoFilterChain.java:412)
         at 
org.apache.mina.common.support.AbstractIoFilterChain.access$500(AbstractIoFilterChain.java:52)
         at 
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionCreated(AbstractIoFilterChain.java:746)
         at 
org.apache.mina.filter.LoggingFilter.sessionCreated(LoggingFilter.java:57)
         at 
org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionCreated(AbstractIoFilterChain.java:412)
         at 
org.apache.mina.common.support.AbstractIoFilterChain.access$500(AbstractIoFilterChain.java:52)
         at 
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionCreated(AbstractIoFilterChain.java:746)
         at 
org.apache.mina.common.IoFilterAdapter.sessionCreated(IoFilterAdapter.java:58)
         at 
org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionCreated(AbstractIoFilterChain.java:412)
         at 
org.apache.mina.common.support.AbstractIoFilterChain.access$500(AbstractIoFilterChain.java:52)
         at 
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionCreated(AbstractIoFilterChain.java:746)
         at 
org.apache.mina.filter.executor.ExecutorFilter.sessionCreated(ExecutorFilter.java:198)
         at 
org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionCreated(AbstractIoFilterChain.java:412)
         at 
org.apache.mina.common.support.AbstractIoFilterChain.access$500(AbstractIoFilterChain.java:52)
         at 
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionCreated(AbstractIoFilterChain.java:746)
         at 
org.apache.mina.common.support.AbstractIoFilterChain$1.sessionCreated(AbstractIoFilterChain.java:83)
         at 
org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionCreated(AbstractIoFilterChain.java:412)
         at 
org.apache.mina.common.support.AbstractIoFilterChain.fireSessionCreated(AbstractIoFilterChain.java:405)
         at 
org.apache.mina.common.support.IoServiceListenerSupport.fireSessionCreated(IoServiceListenerSupport.java:226)
         at 
org.apache.mina.transport.socket.nio.SocketIoProcessor.doAddNew(SocketIoProcessor.java:181)
         at 
org.apache.mina.transport.socket.nio.SocketIoProcessor.access$300(SocketIoProcessor.java:44)
         at 
org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProcessor.java:559)
         at 
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:43)
         at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalStateException: A filter chain cannot 
contain more than one ProtocolCodecFilter.
         at 
org.apache.mina.filter.codec.ProtocolCodecFilter.onPreAdd(ProtocolCodecFilter.java:140)
         at 
org.apache.mina.common.support.AbstractIoFilterChain.register(AbstractIoFilterChain.java:315)
         ... 27 more

I have no clue what this is but I have a feeling you can figure this out 
in minutes.

Alex

Mime
View raw message