RE: [Quickfix-developers] QuickFix/J : Exception on disconnection
Brought to you by:
orenmnero
|
From: Shepheard, T. (London) <Tob...@ml...> - 2005-11-25 10:04:54
|
You might want to try getting the latest version from CVS, as there are some changes to the initiator/acceptor code since the beta 1.0.0 release. I don't know if it solves that particular problem, but there were certainly a number of issues that have since been fixed and this might be one of them. =20 Regards. Toby -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Mathieu DEJASSE Sent: 24 November 2005 19:42 To: Qui...@li... Subject: [Quickfix-developers] QuickFix/J : Exception on disconnection =09 =09 Hello,=20 I'm using quickfixj 1.0.0 beta.=20 I can establish a connection, heartbeats and message exchanges are ok but=20 when I try to logout and disconnect with a initiator.stop(), I get an exception,=20 the initiator process exit and the acceptor doesn't receive the logout request.=20 So, am I doing something wrong or is there an other way to stop a session ?=20 Here's the log I obtain :=20 <20051124-14:58:43, FIX.4.3:INITIATOR->ACCEPTOR, event> (Created session)=20 <20051124-14:58:43, FIX.4.3:INITIATOR->ACCEPTOR, outgoing>=20 =09 (8=3DFIX.4.3=019=3D73=0135=3DA=0134=3D11=0149=3DINITIATOR=0152=3D20051124= -14:58:43.390=0156=3DACCE PTOR=0198=3D0=01108=3D30=0110=3D056=01)=20 <20051124-14:58:43, FIX.4.3:INITIATOR->ACCEPTOR, event> (Initiated logon request)=20 <20051124-14:58:43, FIX.4.3:INITIATOR->ACCEPTOR, incoming>=20 =09 (8=3DFIX.4.3=019=3D73=0135=3DA=0134=3D10=0149=3DACCEPTOR=0152=3D20051124-= 14:58:43.453=0156=3DINITI ATOR=0198=3D0=01108=3D30=0110=3D055=01)=20 <20051124-14:58:43, FIX.4.3:INITIATOR->ACCEPTOR, event> (Received logon response)=20 <20051124-14:59:14, FIX.4.3:INITIATOR->ACCEPTOR, outgoing>=20 =09 (8=3DFIX.4.3=019=3D61=0135=3D0=0134=3D12=0149=3DINITIATOR=0152=3D20051124= -14:59:14.046=0156=3DACCE PTOR=0110=3D009=01)=20 <20051124-14:59:14, FIX.4.3:INITIATOR->ACCEPTOR, incoming>=20 =09 (8=3DFIX.4.3=019=3D61=0135=3D0=0134=3D11=0149=3DACCEPTOR=0152=3D20051124-= 14:59:14.062=0156=3DINITI ATOR=0110=3D006=01)=20 <20051124-14:59:44, FIX.4.3:INITIATOR->ACCEPTOR, outgoing>=20 =09 (8=3DFIX.4.3=019=3D61=0135=3D0=0134=3D13=0149=3DINITIATOR=0152=3D20051124= -14:59:44.046=0156=3DACCE PTOR=0110=3D013=01)=20 <20051124-14:59:49, FIX.4.3:INITIATOR->ACCEPTOR, event> (Initiated logout request)=20 <20051124-14:59:49, FIX.4.3:INITIATOR->ACCEPTOR, outgoing>=20 =09 (8=3DFIX.4.3=019=3D61=0135=3D5=0134=3D14=0149=3DINITIATOR=0152=3D20051124= -14:59:49.046=0156=3DACCE PTOR=0110=3D024=01)=20 java.lang.IllegalStateException: IoProcessor is not started.=20 at net.gleamynode.netty2.IoProcessor.ensureStarted(IoProcessor.java:303)=20 at net.gleamynode.netty2.IoProcessor.notifyWriteRequest(IoProcessor.java:29 2)=20 at net.gleamynode.netty2.Session.write(Session.java:319) at net.gleamynode.netty2.Session.write(Session.java:302) at quickfix.netty.AbstractSocketInitiator$SessionConnection$QuickFixSession Responder.send(AbstractSocketInitiator.java:415)=20 at quickfix.Session.send(Session.java:1426)=20 at quickfix.Session.sendRaw(Session.java:1386)=20 at quickfix.Session.generateLogout(Session.java:749)=20 at quickfix.Session.generateLogout(Session.java:740)=20 at quickfix.Session.next(Session.java:1068)=20 at quickfix.netty.AbstractSocketInitiator.processTimerEvent(AbstractSocketI nitiator.java:210)=20 at quickfix.SocketInitiator.onTimerEvent(SocketInitiator.java:109)=20 at quickfix.netty.AbstractSocketInitiator$SessionConnection.onTimerEvent(Ab stractSocketInitiator.java) at quickfix.netty.AbstractSocketInitiator$SessionTimerTask.run(AbstractSock etInitiator.java:150)=20 at java.util.TimerThread.mainLoop(Timer.java:432)=20 at java.util.TimerThread.run(Timer.java:382)=20 Process exited with exit code 0.=20 Thanks.=20 Mathieu Dejasse -------------------------------------------------------- If you are not an intended recipient of this e-mail, please notify the = sender, delete it and do not read, act upon, print, disclose, copy, = retain or redistribute it. Click here for important additional terms = relating to this e-mail. http://www.ml.com/email_terms/ -------------------------------------------------------- |