From: Matthew S. <ms...@bi...> - 2006-02-23 22:44:41
|
Steve, Waiting for the onLogon callback fixed the problem. Thanks, Matthew Steve Bate wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > 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... >> [mailto:qui...@li...] On Behalf >> 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 >> is not sent >> >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> The first order will get sent after 3 minutes if I dont send >> a second order any earlier. Basically, the receiver will >> notice a missing sequence number between the login and first >> heartbeat. So, after quickfix gets the ResendRequest then >> it sends off the first order. >> >> >> Events: >> 20060223-20:00:31: Session FIX.4.2:MYCOMPID->OTHRCOMPID >> 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 >> >> >> Messages: >> 8=FIX.4.29=6635=A34=57849=MYCOMPID52=20060223-20:00:31.94 >> 956=OTHRCOMPID98=0108=18010=002 >> 8=FIX.4.29=006235=A49=OTHRCOMPID56=MYCOMPID52=20060223-20 >> :00:3034=70498=0108=18010=128 >> 8=FIX.4.29=004935=049=OTHRCOMPID56=MYCOMPID52=20060223-20 >> :02:5434=70510=046 >> 8=FIX.4.29=5335=034=58049=MYCOMPID52=20060223-20:03:32.85 >> 656=OTHRCOMPID10=152 >> 8=FIX.4.29=006035=249=OTHRCOMPID56=MYCOMPID52=20060223-20 >> :03:3034=7067=57916=010=020 >> 8=FIX.4.29=14735=D34=57943=Y49=MYCOMPID52=20060223-20:03 >> :32.97056=OTHRCOMPID122=20060223-20:00:32128=APP11=100203 >> 21=138=2040=154=155=LU60=20060223-20:00:3110=147 >> 8=FIX.4.29=9335=434=58043=Y49=MYCOMPID52=20060223-20:03: >> 32.97456=OTHRCOMPID122=20060223-20:03:3236=581123=Y10=062 >> 8=FIX.4.29=020435=8115=APP143=TargetHostIP49=OTHRCOMPID5 >> 6=MYCOMPID52=20060223-20:03:3034=70737=302253311=10020320 >> =0150=039=038=2014=0151=2055=LU54=16=0.000000001=MYCO >> MPID40=159=0109=MYCOMPID17=032=031=0.0000000010=227 >> 8=FIX.4.29=023035=8115=APP143=TargetHostIP49=OTHRCOMPID5 >> 6=MYCOMPID52=20060223-20:03:3334=70837=302253311=10020320 >> =0150=239=25034=F38=2014=20151=055=LU54=16=3.2730=NY >> SE17=302056832=2031=3.2760=20060223-20:03:33113=N5037=N >> 19=110810=223 >> 8=FIX.4.29=004935=049=OTHRCOMPID56=MYCOMPID52=20060223-20 >> :05:5434=70910=053 >> 8=FIX.4.29=5335=034=58149=MYCOMPID52=20060223-20:06:33.86 >> 156=OTHRCOMPID10=153 >> 8=FIX.4.29=004935=049=OTHRCOMPID56=MYCOMPID52=20060223-20 >> :08:1834=71010=048 >> 8=FIX.4.29=5335=034=58249=MYCOMPID52=20060223-20:09:34.85 >> 456=OTHRCOMPID10=160 >> 8=FIX.4.29=004935=049=OTHRCOMPID56=MYCOMPID52=20060223-20 >> :10:4234=71110=039 >> >> >> Oren Miller wrote: >> >>> Do you have any logs? >>> >>> --oren >>> >>> Matthew Stone wrote: >>> >>> >>>> QuickFIX Documentation: >>>> 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 >>>> submitted. How can I get the first order to be sent normally? >>>> This is basically what I'm doing: >>>> >>>> initiator = new SocketInitiator (this, >>>> >> messageStoreFactory, settings, >> >>>> logFactory, messageFactory); >>>> initiator.start(); >>>> ... >>>> public void onCreate (SessionID sessionId) { >>>> this.sessionID = sessionId >>>> } >>>> ... >>>> Session.sendToTarget (buildSingleOrder (order), sessionID); >>>> >>>> version: quickfixj-1.0.0b3 >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by xPML, a groundbreaking scripting >>>> language >>>> that extends applications into web and mobile media. >>>> >> Attend the live >> >>>> webcast >>>> and join the prime developer group breaking into this new coding >>>> territory! >>>> >>>> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& >> dat=121642 >> >>>> _______________________________________________ >>>> Quickfix-users mailing list >>>> Qui...@li... >>>> https://lists.sourceforge.net/lists/listinfo/quickfix-users >>>> >>>> >>>> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking >> scripting language >> that extends applications into web and mobile media. Attend >> the live webcast >> and join the prime developer group breaking into this new >> coding territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& >> dat=121642 >> _______________________________________________ >> Quickfix-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-users >> >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > |