|
From: Steve B. <st...@te...> - 2006-09-20 14:27:17
|
It depends on the LogFactory you are using. If you are using the FileLogFactory, there should be a file ending with "event.log" in the location specified by your configuration. Steve=20 > -----Original Message----- > From: qui...@li...=20 > [mailto:qui...@li...] On=20 > Behalf Of Alex McGlashan > Sent: Wednesday, September 20, 2006 4:18 PM > To: qui...@li... > Subject: Re: [Quickfixj-users] Resend Request message >=20 > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ Hi Steve, >=20 > Possibly not - how should I do that? >=20 > Alex >=20 > -----Original Message----- > From: qui...@li... > [mailto:qui...@li...] On=20 > Behalf Of Steve Bate > Sent: 20 September 2006 15:13 > To: qui...@li... > Subject: Re: [Quickfixj-users] Resend Request message >=20 > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ Hi Alex, >=20 > Are you logging QFJ events in addition to messages? The log=20 > you provided appears to include your application log=20 > messages and the QFJ FIX messages but I don't see any QFJ events. >=20 > Steve >=20 > > -----Original Message----- > > From: qui...@li... > > [mailto:qui...@li...] On Behalf Of=20 > > Alex McGlashan > > Sent: Wednesday, September 20, 2006 3:48 PM > > To: qui...@li... > > Subject: Re: [Quickfixj-users] Resend Request message > >=20 > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > > QuickFIX/J Support: http://www.quickfixj.org/support/ Hi Steve, > >=20 > > There are no exceptions in the system out - here is the output from=20 > > another shutdown: > >=20 > > [20/09/06 13:57:18 BST] Service stopping > > [20/09/06 13:57:18 BST] : ESPMessageManager: entering close > > [20/09/06 13:57:18 BST] Alex: : ESPConnector: entering disconnect > > [20/09/06 13:57:18 BST] Alex: : ESPConnector: entering sendLogout > > [20/09/06 13:57:18 BST] TwistManager: timeout closedown now running > > [20/09/06 13:57:18 BST] Alex: : ESPConnector: entering send > > - message =3D 8=3DFIX.4.2=019=3D5=0135=3D5=0110=3D166=01 > > [20/09/06 13:57:18 BST] Alex: : ESPConnector: FIXHandler toAdmin -=20 > > message type =3D 5 message =3D > > = 8=3DFIX.4.2=019=3D65=0135=3D5=0134=3D299=0149=3Dscbbanku2fixmaker=0152=3D= 20060920-12 > > :57:18.266 > > =0156=3DCNX=0110=3D017=01 > > [20/09/06 13:57:18 BST] Alex: : ESPConnector: waiting for=20 > connection=20 > > status > > [20/09/06 13:57:18 BST] Alex: : ESPConnector: FIXHandler onLogout > > [20/09/06 13:57:18 BST] Alex: : ESPCOnnector: notifying=20 > > connectionWaiter listeners > > [20/09/06 13:57:18 BST] Alex debug: entering setConnected > > [20/09/06 13:57:18 BST] Alex debug: setConnected - got lock > > [20/09/06 13:57:18 BST] Alex debug: setConnected - set=20 > connected to=20 > > false > > [20/09/06 13:57:18 BST] Alex debug: exiting setConnected > > [20/09/06 13:57:18 BST] Alex: : ESPConnector: exiting disconnect > > [20/09/06 13:57:18 BST] Service stopped > >=20 > > And the message log for the same time (the server is 1 hour behind): > >=20 > > = 8=3DFIX.4.2=019=3D65=0135=3D5=0134=3D299=0149=3Dscbbanku2fixmaker=0152=3D= 20060920-12 > > :57:18.266 > > =0156=3DCNX=0110=3D017=01 > > = 8=3DFIX.4.2=019=3D62=0135=3D5=0149=3DCNX=0156=3Dscbbanku2fixmaker=0134=3D= 1739=0152=3D200 > > 60920-12:5 > > 8:31=0110=3D110=01 > >=20 > > And the seqnums file after shutdown: > >=20 > > 300:1739 > >=20 > > Are there any other diagnostics that could shed more light on this? > >=20 > > Thanks, > >=20 > > Alex > >=20 > >=20 > >=20 > >=20 > > -----Original Message----- > > From: qui...@li... > > [mailto:qui...@li...] On Behalf Of=20 > > Steve Bate > > Sent: 20 September 2006 14:30 > > To: qui...@li... > > Subject: Re: [Quickfixj-users] Resend Request message > >=20 > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > > QuickFIX/J Support: http://www.quickfixj.org/support/ Hi Alex, > >=20 > > Does the log indicate any validation errors or exceptions when=20 > > processing the logout acknowledgement? For example, if there is an=20 > > exception while verifying the logout ack, the fromAdmin=20 > callback will=20 > > not be called although the onLogout callback will be called=20 > during the=20 > > subsequent disconnect. > >=20 > > Steve > >=20 > > > -----Original Message----- > > > From: qui...@li... > > > [mailto:qui...@li...] On=20 > Behalf Of=20 > > > Alex McGlashan > > > Sent: Wednesday, September 20, 2006 2:00 PM > > > To: qui...@li... > > > Subject: Re: [Quickfixj-users] Resend Request message > > >=20 > > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > > > QuickFIX/J Support: http://www.quickfixj.org/support/ Hi Toby, > > >=20 > > > Thanks for the info and links - very helpful. > > >=20 > > > I now know why the sequence numbers are getting out of sync. =20 > > > What is happening is that when I initiate a logout, I wait for my=20 > > > onLogout callback method to be called and then shut down my > > adaptor. =20 > > > The message log indicates that I do indeed receive a logout > > response > > > message: > > >=20 > > > = 8=3DFIX.4.2=019=3D65=0135=3D5=0134=3D189=0149=3Dscbbanku2fixmaker=0152=3D= 20060920-11 > > > :40:39.501 > > > =0156=3DCNX=0110=3D001=01 > > > = 8=3DFIX.4.2=019=3D62=0135=3D5=0149=3DCNX=0156=3Dscbbanku2fixmaker=0134=3D= 1481=0152=3D200 > > > 60920-11:4 > > > 1:52=0110=3D098=01 > > >=20 > > > However, the sequence number for the incoming message=20 > stream is not > > > incremented: > > >=20 > > > 190:1481 > > >=20 > > > I notice, also, that my fromAdmin method is not called with the=20 > > > incoming logout message. > > >=20 > > > How do I ensure that my seqnums file is incremented correctly? > > >=20 > > > Thanks in advance, > > >=20 > > > Alex > > >=20 > > >=20 > > >=20 > > > -----Original Message----- > > > From: qui...@li... > > > [mailto:qui...@li...] On=20 > Behalf Of=20 > > > Shepheard, Toby (London) > > > Sent: 15 September 2006 16:34 > > > To: qui...@li... > > > Subject: Re: [Quickfixj-users] Resend Request message > > >=20 > > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > > > QuickFIX/J Support: http://www.quickfixj.org/support/ You=20 > have some=20 > > > control over what QuickFIX will do, but it does depend on you to=20 > > > configure it appropriately. See=20 > > > http://www.quickfixj.org/quickfixj/usermanual/usage/configurat > > > ion.html#M > > > iscellaneous - in particular it sounds like you need to=20 > be setting=20 > > > SendResetSeqNumFlag=3DY. If the counterparty expects you to > > start at 0 > > > for each session and you're continuing with the last > > session's seqNum, > > > then that will be causing problems. Setting this flag to Y > > will make > > > QFJ automatically reset to 0 when it initiates a login. > > >=20 > > > As mentioned before, without seeing logs and your config > > I'm playing a > > > bit of a guessing game; if you continue to have problems > > then it would > > > really help to see these. > > >=20 > > >=20 > > > I also recommend reading the FIX spec on session > > management, available > > > from > > >=20 > >=20 > http://www.fixprotocol.org/documents/347/fix-44_w_Errata_20030618.zip > > > (you may need to login first). I think it's the 2nd document that=20 > > > covers session behaviour, sequence number usage etc. > > >=20 > > >=20 > > >=20 > > > -----Original Message----- > > > From: qui...@li... > > > [mailto:qui...@li...] On=20 > Behalf Of=20 > > > Alex McGlashan > > > Sent: 15 September 2006 15:16 > > > To: qui...@li... > > > Subject: Re: [Quickfixj-users] Resend Request message > > >=20 > > >=20 > > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > > > QuickFIX/J Support: http://www.quickfixj.org/support/ > > Thanks Toby, I > > > think you're correct about the first sequence number being > > out. What > > > seems to be happening is that the counterparty is sending me a=20 > > > ResendRequest message in the expectation that my seqnums > > file will be > > > updated to match the NewSeqNo value. My question now is: > > > should QuickFIX update the seqnums file automatically or is this=20 > > > functionality I need to code for. If the former, it > > doesn't seem to > > > be working, if the latter, how? > > >=20 > > > Regards, > > >=20 > > > Alex > > >=20 > > >=20 > > > -----Original Message----- > > > From: qui...@li... > > > [mailto:qui...@li...] On=20 > Behalf Of=20 > > > Shepheard, Toby (London) > > > Sent: 14 September 2006 09:19 > > > To: qui...@li... > > > Subject: Re: [Quickfixj-users] Resend Request message > > >=20 > > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > > > QuickFIX/J Support: http://www.quickfixj.org/support/ 1. Is > > it sending > > > the ResendRequest near the start of the session? > > > If so, it may be that although the messages are in > > sequence, the first > > > sequence number received is not as expected. There are > > various config > > > settings for resetting the sequence number, and you have to > > make sure > > > you configure it to match what the counterparty is doing.=20 > The fact=20 > > > that deleting your seqnums file resolved the issue temporarily=20 > > > suggests that this might well be the problem. > > >=20 > > > 2. Strange, it should handle this ok. Is your message=20 > store working=20 > > > properly? I'm not very familiar with gap-fills I'm afraid. > > >=20 > > > I think some logs files and your config file may be needed > > to really > > > work out what's going on - either that or someone else's > > expertise who > > > knows more about it than I do :) > > >=20 > > > Rgds > > > Toby > > >=20 > > >=20 > > > -----Original Message----- > > > From: qui...@li... > > > [mailto:qui...@li...] On=20 > Behalf Of=20 > > > Alex McGlashan > > > Sent: 13 September 2006 18:25 > > > To: qui...@li... > > > Subject: Re: [Quickfixj-users] Resend Request message > > >=20 > > >=20 > > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > > > QuickFIX/J Support: http://www.quickfixj.org/support/=20 > Unfortunately=20 > > > that was a temporary fix - I do have an issue with=20 > sequence numbers=20 > > > after all. > > >=20 > > > As described earlier, my QuickFIX is sending a > > ResendRequest and the > > > counterparty is responding with a SequenceReset with > > GapFillFlag =3D Y, > > > at which point my QuickFIX stops handling QuoteRequests. > > >=20 > > > My questions are: > > >=20 > > > 1. The logs indicate that the incoming messages are in > > sequence i.e. > > > there are no gaps, so why is QuickFIX is sending the > > ResendRequest in > > > the first place? > > >=20 > > > 2. Why is QuickFIX not handling the gap fill message correctly? > > > Shouldn't it just carry on receiving messages? > > >=20 > > > I have lots of logs and diagnostics and am running out of > > ideas so any > > > help would be very much appreciated. > > >=20 > > > Alex > > > -------------------------------------------------------- > > >=20 > > > If you are not an intended recipient of this e-mail, please > > notify the > > > sender, delete it and do not read, act upon, print,=20 > disclose, copy,=20 > > > retain or redistribute it. Click here for important=20 > additional terms > > > relating to this e-mail. http://www.ml.com/email_terms/ > > > -------------------------------------------------------- > > >=20 > > > -------------------------------------------------------------- > > > ---------- > > > - > > > Using Tomcat but need to do more? Need to support web services,=20 > > > security? > > > Get stuff done quickly with pre-integrated technology to > > make your job > > > easier Download IBM WebSphere Application Server > > > v.1.0.1 based on Apache Geronimo > > > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057& > > > dat=3D121642 > > > _______________________________________________ > > > Quickfixj-users mailing list > > > Qui...@li... > > > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > >=20 > > > Eurobase International Limited and its subsidiaries > > > (Eurobase) are unable to exercise control over the content of=20 > > > information in E-Mails. Any views and opinions expressed may be=20 > > > personal to the sender and are not necessarily those of Eurobase. > > > Eurobase will not enter into any contractual obligations in > > respect of > > > any part of its business in any E-mail. > > >=20 > > > Privileged / confidential information may be contained in > > this message > > > and /or any attachments. This E-mail is intended for the=20 > use of the > > > addressee(s) only and may contain confidential information.=20 > > If you are > > > not the / an intended recipient, you are hereby notified > > that any use > > > or dissemination of this communication is strictly prohibited. > > > If you receive this transmission in error, please notify us=20 > > > immediately, and then delete this E-mail. > > >=20 > > > Neither the sender nor Eurobase accepts any liability > > whatsoever for > > > any defects of any kind either in or arising from this E-mail=20 > > > transmission. E-Mail transmission cannot be guaranteed to > > be secure or > > > error-free, as messages can be intercepted, lost, corrupted,=20 > > > destroyed, contain viruses, or arrive late or incomplete.=20 > Eurobase=20 > > > does not accept any responsibility for viruses and it is your=20 > > > responsibility to scan any attachments. > > >=20 > > > Registered Address: Essex House, 2 County Place,=20 > Chelmsford, Essex > > > CM2 0RE, United Kingdom > > >=20 > > >=20 > > > -------------------------------------------------------------- > > > ----------- > > > Take Surveys. Earn Cash. Influence the Future of IT Join=20 > > > SourceForge.net's Techsay panel and you'll get the chance=20 > to share=20 > > > your opinions on IT & business topics through brief=20 > surveys -- and=20 > > > earn cash=20 > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge > > > &CID=3DDEVDEV > > > _______________________________________________ > > > Quickfixj-users mailing list > > > Qui...@li... > > > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > >=20 > >=20 > >=20 > > -------------------------------------------------------------- > > ---------- > > - > > Take Surveys. Earn Cash. Influence the Future of IT Join=20 > > SourceForge.net's Techsay panel and you'll get the chance to share=20 > > your opinions on IT & business topics through brief surveys -- and=20 > > earn cash=20 > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge > > &CID=3DDEVDE > > V > > _______________________________________________ > > Quickfixj-users mailing list > > Qui...@li... > > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > >=20 > > -------------------------------------------------------------- > > ----------- > > Take Surveys. Earn Cash. Influence the Future of IT Join=20 > > SourceForge.net's Techsay panel and you'll get the chance to share=20 > > your opinions on IT & business topics through brief surveys -- and=20 > > earn cash=20 > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge > > &CID=3DDEVDEV > > _______________________________________________ > > Quickfixj-users mailing list > > Qui...@li... > > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > >=20 >=20 >=20 > -------------------------------------------------------------- > ---------- > - > Take Surveys. Earn Cash. Influence the Future of IT Join=20 > SourceForge.net's Techsay panel and you'll get the chance to=20 > share your opinions on IT & business topics through brief=20 > surveys -- and earn cash=20 > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge > &CID=3DDEVDE > V > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users >=20 > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT Join=20 > SourceForge.net's Techsay panel and you'll get the chance to=20 > share your opinions on IT & business topics through brief=20 > surveys -- and earn cash=20 > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge > &CID=3DDEVDEV > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users >=20 |