did you end your string with a newline or carriage return + newline ?

On 9/13/07, jamesnot007 <[EMAIL PROTECTED]> wrote:
>
>
> I tried running mina's example reverser and used jmeter to send some
> string
> to it. However, I did not get any response. After debuging mina, I found
> the
> reason is because the code line :
>         cfg.getFilterChain().addLast(
>                 "codec",
>                 new ProtocolCodecFilter(new TextLineCodecFactory(Charset
>                         .forName("UTF-8"))));
>
> If I commented it out, ReverseProtocolHandler.messageReceived will be
> called. I tried example echoserver too and got the same result.
>
> I used jdk1.5.0_12 and mina 1.1.2 on WinXP. Can any body help me?
> --
> View this message in context:
> http://www.nabble.com/ProtocolCodecFilter-makes-IoHandler-be-not-called-tf4436520s16868.html#a12657323
> Sent from the Apache MINA Support Forum mailing list archive at Nabble.com
> .
>
>

Reply via email to