directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee" <trus...@gmail.com>
Subject Re: [Mitosis] Got far stuck on MINA problem
Date Sat, 04 Nov 2006 14:43:21 GMT
Just for a record, Alex and I did remote pair programming and fixed most of
the problems in the networking code.

Trustin

On 11/4/06, Alex Karasulu <aok123@bellsouth.net> wrote:
>
> 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
>



-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6

Mime
View raw message