| [QFJ-258] MINA acceptor unbind closes sockets before logout Created: 17/Oct/07 Updated: 15/Jan/08 Resolved: 12/Jan/08 | |
| Status: | Closed | 
| Project: | QuickFIX/J | 
| Component/s: | Engine | 
| Affects Version/s: | 1.3.0 | 
| Fix Version/s: | 1.3.1 | 
| Type: | Bug | Priority: | Major | 
| Reporter: | Mike Gu | Assignee: | Unassigned | 
| Resolution: | Fixed | Votes: | 0 | 
| Labels: | None | ||
| Environment: | Wndows XP, Eclipse 3.2.1, Jdk1.5 | ||
| Description | 
| SocketAcceptor ,ThreadSocketAcceptor stop mechanism can't work.  In the version 1.2.1, in the sample, after the banzai and the executor have run, I press <enter> in the executor console. It turns out  only one session has been disconnected in my computer and  other four sessions still run.   Thanks  | 
| Comments | 
| Comment by Mike Gu [ 17/Oct/07 ] | 
| I have confirmed that the reaseon that version 1.2.1 acts differently to version 1.3.0 is they using different versions of mina jar. | 
| Comment by Mike Gu [ 17/Oct/07 ] | 
| I have found the bug reason. In the SocketAcceptor\ThreadSocketAcceptor stop() mehod, it firstly call the stopAcceptingConnections(). And in the stopAcceptingConnections() method, there is an operation: ioAcceptor.unbind(acceptorSocketAddress); It will unbind and also close the io connnection. |