From: Steve B. <sb...@sm...> - 2006-02-23 22:10:32
|
Hi Matthew, Is it only the first order after logon that has the problem? Do you send the order immediately after the session create or after you receive the onLogon callback? Have you tried getting a thread dump during that first three minutes to see if any threads are blocked in suspicious places (e.g., deadlock)? I'm guessing there's no deadlock because the heartbeat would not be sent if the session was locked. > -----Original Message----- > From: qui...@li...=20 > [mailto:qui...@li...] On Behalf=20 > Of Matthew Stone > Sent: Thursday, February 23, 2006 9:34 PM > To: Oren Miller > Cc: qui...@li... > Subject: Re: [Quickfix-users] qfj First order after startup=20 > is not sent >=20 > QuickFIX Documentation:=20 > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html >=20 > The first order will get sent after 3 minutes if I dont send=20 > a second order any earlier. Basically, the receiver will=20 > notice a missing sequence number between the login and first=20 > heartbeat. So, after quickfix gets the ResendRequest then=20 > it sends off the first order. >=20 >=20 > Events: > 20060223-20:00:31: Session FIX.4.2:MYCOMPID->OTHRCOMPID=20 > schedule is daily, 00:00:00 UTC - 00:00:00 UTC > 20060223-20:00:31: Created session: FIX.4.2:MYCOMPID->OTHRCOMPID > 20060223-20:00:32: Initiated logon request > 20060223-20:00:32: Received logon response > 20060223-20:03:32: Received ResendRequest FROM: 579 TO: 0 > 20060223-20:03:32: Resending Message: 579 > 20060223-20:03:32: Sent SequenceReset TO: 581 >=20 >=20 > Messages: > = 8=3DFIX.4.2=019=3D66=0135=3DA=0134=3D578=0149=3DMYCOMPID=0152=3D20060223-= 20:00:31.94 > 9=0156=3DOTHRCOMPID=0198=3D0=01108=3D180=0110=3D002=01 > = 8=3DFIX.4.2=019=3D0062=0135=3DA=0149=3DOTHRCOMPID=0156=3DMYCOMPID=0152=3D= 20060223-20 > :00:30=0134=3D704=0198=3D0=01108=3D180=0110=3D128=01 > = 8=3DFIX.4.2=019=3D0049=0135=3D0=0149=3DOTHRCOMPID=0156=3DMYCOMPID=0152=3D= 20060223-20 > :02:54=0134=3D705=0110=3D046=01 > = 8=3DFIX.4.2=019=3D53=0135=3D0=0134=3D580=0149=3DMYCOMPID=0152=3D20060223-= 20:03:32.85 > 6=0156=3DOTHRCOMPID=0110=3D152=01 > = 8=3DFIX.4.2=019=3D0060=0135=3D2=0149=3DOTHRCOMPID=0156=3DMYCOMPID=0152=3D= 20060223-20 > :03:30=0134=3D706=017=3D579=0116=3D0=0110=3D020=01 > = 8=3DFIX.4.2=019=3D147=0135=3DD=0134=3D579=0143=3DY=0149=3DMYCOMPID=0152=3D= 20060223-20:03 > = :32.970=0156=3DOTHRCOMPID=01122=3D20060223-20:00:32=01128=3DAPP=0111=3D10= 0203=01 > = 21=3D1=0138=3D20=0140=3D1=0154=3D1=0155=3DLU=0160=3D20060223-20:00:31=011= 0=3D147=01 > = 8=3DFIX.4.2=019=3D93=0135=3D4=0134=3D580=0143=3DY=0149=3DMYCOMPID=0152=3D= 20060223-20:03: > = 32.974=0156=3DOTHRCOMPID=01122=3D20060223-20:03:32=0136=3D581=01123=3DY=01= 10=3D062=01 > = 8=3DFIX.4.2=019=3D0204=0135=3D8=01115=3DAPP=01143=3DTargetHostIP=0149=3DO= THRCOMPID=015 > = 6=3DMYCOMPID=0152=3D20060223-20:03:30=0134=3D707=0137=3D3022533=0111=3D10= 0203=0120 > = =3D0=01150=3D0=0139=3D0=0138=3D20=0114=3D0=01151=3D20=0155=3DLU=0154=3D1=01= 6=3D0.00000000=011=3DMYCO > = MPID=0140=3D1=0159=3D0=01109=3DMYCOMPID=0117=3D0=0132=3D0=0131=3D0.000000= 00=0110=3D227=01 > = 8=3DFIX.4.2=019=3D0230=0135=3D8=01115=3DAPP=01143=3DTargetHostIP=0149=3DO= THRCOMPID=015 > = 6=3DMYCOMPID=0152=3D20060223-20:03:33=0134=3D708=0137=3D3022533=0111=3D10= 0203=0120 > = =3D0=01150=3D2=0139=3D2=015034=3DF=0138=3D20=0114=3D20=01151=3D0=0155=3DL= U=0154=3D1=016=3D3.27=0130=3DNY > = SE=0117=3D3020568=0132=3D20=0131=3D3.27=0160=3D20060223-20:03:33=01113=3D= N=015037=3DN=01 > 19=3D1108=0110=3D223=01 > = 8=3DFIX.4.2=019=3D0049=0135=3D0=0149=3DOTHRCOMPID=0156=3DMYCOMPID=0152=3D= 20060223-20 > :05:54=0134=3D709=0110=3D053=01 > = 8=3DFIX.4.2=019=3D53=0135=3D0=0134=3D581=0149=3DMYCOMPID=0152=3D20060223-= 20:06:33.86 > 1=0156=3DOTHRCOMPID=0110=3D153=01 > = 8=3DFIX.4.2=019=3D0049=0135=3D0=0149=3DOTHRCOMPID=0156=3DMYCOMPID=0152=3D= 20060223-20 > :08:18=0134=3D710=0110=3D048=01 > = 8=3DFIX.4.2=019=3D53=0135=3D0=0134=3D582=0149=3DMYCOMPID=0152=3D20060223-= 20:09:34.85 > 4=0156=3DOTHRCOMPID=0110=3D160=01 > = 8=3DFIX.4.2=019=3D0049=0135=3D0=0149=3DOTHRCOMPID=0156=3DMYCOMPID=0152=3D= 20060223-20 > :10:42=0134=3D711=0110=3D039=01 >=20 >=20 > Oren Miller wrote: > > Do you have any logs? > > > > --oren > > > > Matthew Stone wrote: > > > >> QuickFIX Documentation:=20 > >> http://www.quickfixengine.org/quickfix/doc/html/index.html > >> QuickFIX Support: http://www.quickfixengine.org/services.html > >> > >> After startup the first order is not sent until a second order is=20 > >> submitted. How can I get the first order to be sent normally? > >> This is basically what I'm doing: > >> > >> initiator =3D new SocketInitiator (this,=20 > messageStoreFactory, settings,=20 > >> logFactory, messageFactory); > >> initiator.start(); > >> ... > >> public void onCreate (SessionID sessionId) { > >> this.sessionID =3D sessionId > >> } > >> ... > >> Session.sendToTarget (buildSingleOrder (order), sessionID); > >> > >> version: quickfixj-1.0.0b3 > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by xPML, a groundbreaking scripting=20 > >> language > >> that extends applications into web and mobile media.=20 > Attend the live=20 > >> webcast > >> and join the prime developer group breaking into this new coding=20 > >> territory! > >>=20 > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720& > dat=3D121642 > >> _______________________________________________ > >> Quickfix-users mailing list > >> Qui...@li... > >> https://lists.sourceforge.net/lists/listinfo/quickfix-users > >> > >> >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting language > that extends applications into web and mobile media. Attend=20 > the live webcast > and join the prime developer group breaking into this new=20 > coding territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720& > dat=3D121642 > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users >=20 |