mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ncanis2 (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRMINA-714) Packet sequence is unordered in multi thread.
Date Wed, 03 Jun 2009 02:12:07 GMT

     [ https://issues.apache.org/jira/browse/DIRMINA-714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

ncanis2 updated DIRMINA-714:
----------------------------

    Attachment: mina_m6_seq_test_src.zip

- All Logger level set ERROR
- When packet sequence is wrong, server would close the client session. then saved sequence
info logs wil be shown on console.

=========================================================================
I made sample program you want.

I think this sample has some bugs. sorry about that.

but, it has same the bug that I talked you.

When I run this program..

[11:1]-S[SeqServerHandler(sessionClosed:35)]:Sent Trace log=[4] Really MSG Sent=> seq=0
[11:1]-S[SeqServerHandler(sessionClosed:35)]:Sent Trace log=[4] Really MSG Sent=> seq=1
[11:1]-S[SeqServerHandler(sessionClosed:35)]:Sent Trace log=[4] Really MSG Sent=> seq=2
[11:1]-S[SeqServerHandler(sessionClosed:35)]:Sent Trace log=[4] Really MSG Sent=> seq=3
[11:1]-S[SeqServerHandler(sessionClosed:35)]:Sent Trace log=[4] Really MSG Sent=> seq=4
[11:1]-S[SeqServerHandler(sessionClosed:35)]:Sent Trace log=[4] Really MSG Sent=> seq=5
[11:1]-S[SeqServerHandler(sessionClosed:35)]:Sent Trace log=[4] Really MSG Sent=> seq=6
[11:1]-S[SeqServerHandler(sessionClosed:35)]:Sent Trace log=[4] Really MSG Sent=> seq=8
[11:1]-S[SeqServerHandler(sessionClosed:35)]:Sent Trace log=[4] Really MSG Sent=> seq=7

> Packet sequence is unordered in multi thread.
> ---------------------------------------------
>
>                 Key: DIRMINA-714
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-714
>             Project: MINA
>          Issue Type: Bug
>          Components: Filter
>    Affects Versions: 2.0.0-M5
>         Environment: xp
>            Reporter: ncanis2
>             Fix For: 2.0.0-M7
>
>         Attachments: mina_m6_seq_test_src.zip
>
>
> Hi.
> Packet sequence is unordered.
> = Server & Client = 
> chain.addLast("codec", new ProtocolCodecFilter(rcf));
> chain.addLast("executor", getExecuteFilter());    => OrderedThreadPoolExecutor c =
new OrderedThreadPoolExecutor(20,100);
> If server send 1,2,3,4,5,6 , client receive 1,2,3,4,6  from server.
> Clients : 100.
> where I am wrong? 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message