You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "leahpar (JIRA)" <ji...@apache.org> on 2008/04/30 11:41:55 UTC

[jira] Created: (DIRMINA-578) in tennis example version 1.1.7 is fine but for version 2.0M1, there's a funny output order (all RCVD first and SENT last).

in tennis example version 1.1.7 is fine but for version 2.0M1, there's a funny output order (all RCVD first and SENT last). 
----------------------------------------------------------------------------------------------------------------------------

                 Key: DIRMINA-578
                 URL: https://issues.apache.org/jira/browse/DIRMINA-578
             Project: MINA
          Issue Type: Bug
          Components: Example
    Affects Versions: 2.0.0-M1
         Environment: windows XP - jdk6u6
            Reporter: leahpar


<dependency>
	<groupId>org.apache.mina</groupId>
	<version>1.1.7</version>
	<artifactId>mina-example</artifactId>		
</dependency>
Player-1: READY
Player-0: READY
Player-0: RCVD PING (10)
Player-1: SENT PING (10)
Player-1: RCVD PONG (9)
Player-0: SENT PONG (9)
Player-0: RCVD PING (8)
Player-1: SENT PING (8)
Player-1: RCVD PONG (7)
Player-0: SENT PONG (7)
Player-0: RCVD PING (6)
Player-1: SENT PING (6)
Player-0: SENT PONG (5)
Player-1: RCVD PONG (5)
Player-1: SENT PING (4)
Player-0: RCVD PING (4)
Player-1: RCVD PONG (3)
Player-0: SENT PONG (3)
Player-0: RCVD PING (2)
Player-1: SENT PING (2)
Player-1: RCVD PONG (1)
Player-1: LOSE
Player-0: SENT PONG (1)
Player-1: QUIT
Player-0: QUIT



<dependency>
  <groupId>org.apache.mina</groupId>
  <version>2.0.0-M1</version>
	<artifactId>mina-example</artifactId>		
</dependency>
Player-1: READY
Player-0: READY
Player-0: RCVD PING (10)
Player-1: RCVD PONG (9)
Player-0: RCVD PING (8)
Player-1: RCVD PONG (7)
Player-0: RCVD PING (6)
Player-1: RCVD PONG (5)
Player-0: RCVD PING (4)
Player-1: RCVD PONG (3)
Player-0: RCVD PING (2)
Player-1: RCVD PONG (1)
Player-1: LOSE
Player-1: QUIT
Player-0: QUIT
Player-0: SENT PONG (1)
Player-1: SENT PING (2)
Player-0: SENT PONG (3)
Player-1: SENT PING (4)
Player-0: SENT PONG (5)
Player-1: SENT PING (6)
Player-0: SENT PONG (7)
Player-1: SENT PING (8)
Player-0: SENT PONG (9)
Player-1: SENT PING (10)

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


[jira] Closed: (DIRMINA-578) in tennis example version 1.1.7 is fine but for version 2.0M1, there's a funny output order (all RCVD first and SENT last).

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRMINA-578.
-------------------------------------


> in tennis example version 1.1.7 is fine but for version 2.0M1, there's a funny output order (all RCVD first and SENT last). 
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-578
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-578
>             Project: MINA
>          Issue Type: Bug
>          Components: Example
>    Affects Versions: 2.0.0-M1
>         Environment: windows XP - jdk6u6
>            Reporter: leahpar
>            Assignee: Trustin Lee
>
> <dependency>
> 	<groupId>org.apache.mina</groupId>
> 	<version>1.1.7</version>
> 	<artifactId>mina-example</artifactId>		
> </dependency>
> Player-1: READY
> Player-0: READY
> Player-0: RCVD PING (10)
> Player-1: SENT PING (10)
> Player-1: RCVD PONG (9)
> Player-0: SENT PONG (9)
> Player-0: RCVD PING (8)
> Player-1: SENT PING (8)
> Player-1: RCVD PONG (7)
> Player-0: SENT PONG (7)
> Player-0: RCVD PING (6)
> Player-1: SENT PING (6)
> Player-0: SENT PONG (5)
> Player-1: RCVD PONG (5)
> Player-1: SENT PING (4)
> Player-0: RCVD PING (4)
> Player-1: RCVD PONG (3)
> Player-0: SENT PONG (3)
> Player-0: RCVD PING (2)
> Player-1: SENT PING (2)
> Player-1: RCVD PONG (1)
> Player-1: LOSE
> Player-0: SENT PONG (1)
> Player-1: QUIT
> Player-0: QUIT
> <dependency>
>   <groupId>org.apache.mina</groupId>
>   <version>2.0.0-M1</version>
> 	<artifactId>mina-example</artifactId>		
> </dependency>
> Player-1: READY
> Player-0: READY
> Player-0: RCVD PING (10)
> Player-1: RCVD PONG (9)
> Player-0: RCVD PING (8)
> Player-1: RCVD PONG (7)
> Player-0: RCVD PING (6)
> Player-1: RCVD PONG (5)
> Player-0: RCVD PING (4)
> Player-1: RCVD PONG (3)
> Player-0: RCVD PING (2)
> Player-1: RCVD PONG (1)
> Player-1: LOSE
> Player-1: QUIT
> Player-0: QUIT
> Player-0: SENT PONG (1)
> Player-1: SENT PING (2)
> Player-0: SENT PONG (3)
> Player-1: SENT PING (4)
> Player-0: SENT PONG (5)
> Player-1: SENT PING (6)
> Player-0: SENT PONG (7)
> Player-1: SENT PING (8)
> Player-0: SENT PONG (9)
> Player-1: SENT PING (10)

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


[jira] Resolved: (DIRMINA-578) in tennis example version 1.1.7 is fine but for version 2.0M1, there's a funny output order (all RCVD first and SENT last).

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trustin Lee resolved DIRMINA-578.
---------------------------------

    Resolution: Fixed
      Assignee: Trustin Lee

Should be fixed now.  This issue appears when it runs without an executorfilter.  I queued messageSent event to the internal event queue first, and then flushed the event queue later.  Brevious implementation didn't utilize the event queue but relied on method invocation, which leads to reversed event order.

> in tennis example version 1.1.7 is fine but for version 2.0M1, there's a funny output order (all RCVD first and SENT last). 
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-578
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-578
>             Project: MINA
>          Issue Type: Bug
>          Components: Example
>    Affects Versions: 2.0.0-M1
>         Environment: windows XP - jdk6u6
>            Reporter: leahpar
>            Assignee: Trustin Lee
>
> <dependency>
> 	<groupId>org.apache.mina</groupId>
> 	<version>1.1.7</version>
> 	<artifactId>mina-example</artifactId>		
> </dependency>
> Player-1: READY
> Player-0: READY
> Player-0: RCVD PING (10)
> Player-1: SENT PING (10)
> Player-1: RCVD PONG (9)
> Player-0: SENT PONG (9)
> Player-0: RCVD PING (8)
> Player-1: SENT PING (8)
> Player-1: RCVD PONG (7)
> Player-0: SENT PONG (7)
> Player-0: RCVD PING (6)
> Player-1: SENT PING (6)
> Player-0: SENT PONG (5)
> Player-1: RCVD PONG (5)
> Player-1: SENT PING (4)
> Player-0: RCVD PING (4)
> Player-1: RCVD PONG (3)
> Player-0: SENT PONG (3)
> Player-0: RCVD PING (2)
> Player-1: SENT PING (2)
> Player-1: RCVD PONG (1)
> Player-1: LOSE
> Player-0: SENT PONG (1)
> Player-1: QUIT
> Player-0: QUIT
> <dependency>
>   <groupId>org.apache.mina</groupId>
>   <version>2.0.0-M1</version>
> 	<artifactId>mina-example</artifactId>		
> </dependency>
> Player-1: READY
> Player-0: READY
> Player-0: RCVD PING (10)
> Player-1: RCVD PONG (9)
> Player-0: RCVD PING (8)
> Player-1: RCVD PONG (7)
> Player-0: RCVD PING (6)
> Player-1: RCVD PONG (5)
> Player-0: RCVD PING (4)
> Player-1: RCVD PONG (3)
> Player-0: RCVD PING (2)
> Player-1: RCVD PONG (1)
> Player-1: LOSE
> Player-1: QUIT
> Player-0: QUIT
> Player-0: SENT PONG (1)
> Player-1: SENT PING (2)
> Player-0: SENT PONG (3)
> Player-1: SENT PING (4)
> Player-0: SENT PONG (5)
> Player-1: SENT PING (6)
> Player-0: SENT PONG (7)
> Player-1: SENT PING (8)
> Player-0: SENT PONG (9)
> Player-1: SENT PING (10)

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