|
From: Joerg T. <Joe...@ma...> - 2007-04-26 12:20:56
|
On 04/26/07 11:31, Alex McGlashan wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Thanks Toli - all working now. Thanks also to Jorg for the advice on > upgrading to QFJ 1.1.0. > > By the way, is there a command to query the version of QFJ installed? I am not aware of any method. Please open a JIRA task to add version information to QF/J. Then all related discussion could be collected there. I would suggest to add manifest properties to META-INF/MANIFEST.MF of the quickfix.jar. There are Ant task to create such manifest files, and this could be incorporated into the build process. Example from JDK 1.5 rt.jar: Manifest-Version: 1.0 Specification-Title: Java Platform API Specification Created-By: 1.5.0_07 (Sun Microsystems Inc.) Implementation-Title: Java Runtime Environment Specification-Vendor: Sun Microsystems, Inc. Specification-Version: 1.5 Implementation-Version: 1.5.0_07 Implementation-Vendor: Sun Microsystems, Inc. Not sure which class should get the version query. Cheers, Jörg > -----Original Message----- > From: qui...@li... > [mailto:qui...@li...] On Behalf Of Toli > Kuznets > Sent: 25 April 2007 19:46 > To: qui...@li... > Subject: Re: [Quickfixj-users] Multi-leg quote request exception > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Alex, > > I was able to reproduce your problem in QFJ 1.0.5 (which makes me > think that 1.0.4 has the same problem). > > QFJ 1.1.0 has improved error messages (and that NPE was fixed). Your > problem is that you left out the LegSymbol from your group. Here's the > error showing up in QFJ 1.1.0: > Testcase: testMultiLegRequest took 0.03 sec > Caused an ERROR > Repeating group 555 is out of order: first field should be 600, but was > 687. > quickfix.InvalidMessage: Repeating group 555 is out of order: first > field should be 600, but was 687. > > > Modifying your code to insert a LegSymbol before LegQty makes the test > pass in QFJ 1.0.5 as well. > So just insert the equivalent of this before your LegQty: > noRelatedSym.addGroup(noLegs); > new>>> noLegs.set(new LegSymbol("blah")); > noLegs.set(new LegQty(2000000)); > > > Also, you may want to upgrade to 1.1.0 if that's possible, since it > gives you much more helpful error messages when you have misconfigured > repeating groups. > > On 4/25/07, Alex McGlashan <ale...@eu...> > wrote: >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> Hi Toli, >> >> I'm using FIX 4.4 and I think QFJ 1.0.4 (the reason I'm not sure is > that >> I don't know how to query the version of QFJ - I am going by the date > of >> the quickfixj.jar. Is there a command I can run?) >> >> Thanks, >> Alex >> >> -----Original Message----- >> From: qui...@li... >> [mailto:qui...@li...] On Behalf Of > Toli >> Kuznets >> Sent: 25 April 2007 17:11 >> To: qui...@li... >> Subject: Re: [Quickfixj-users] Multi-leg quote request exception >> >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> Alex, >> >> 1. which version of QFJ is this in? 1.1.0 or 1.0.5? >> >>> QuoteRequest quoteRequest = new QuoteRequest(); >> 2. which version of FIX are you using for this? where's the import of >> QuoteRequest coming from? >> quicfix.fix42.QuoteRequest? different fix version? >> >> I'll create a unit test and see what's wrong, but it'll be helpful to >> get the above info. >> >> thanks. >> >> >> -- >> Toli Kuznets >> http://www.marketcetera.com: Open-Source Trading Platform >> download.run.trade. >> >> > ------------------------------------------------------------------------ >> - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> >> Eurobase International Limited and its subsidiaries (Eurobase) are > unable to exercise control over the content of information in E-Mails. > Any views and opinions expressed may be 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. >> Privileged / confidential information may be contained in this message > and /or any attachments. This E-mail is intended for the use of the > addressee(s) only and may contain confidential information. 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 immediately, and > then delete this E-mail. >> Neither the sender nor Eurobase accepts any liability whatsoever for > any defects of any kind either in or arising from this E-mail > transmission. E-Mail transmission cannot be guaranteed to be secure or > error-free, as messages can be intercepted, lost, corrupted, destroyed, > contain viruses, or arrive late or incomplete. Eurobase does not accept > any responsibility for viruses and it is your responsibility to scan any > attachments. >> Eurobase Systems Limited is the main trading company in the Eurobase > International Group; registered in England and Wales as company number > 02251162; registered address: Essex House, 2 County Place, Chelmsford, > Essex CM2 0RE, UK. >> >> > ------------------------------------------------------------------------ > - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> > > -- Joerg Thoennes http://www.macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Geschäftsführer: Roger Macdonald Lothringer Str. 52, D-52070 Aachen Amtsgericht Aachen, HRB 8151, Ust.-Id DE813021663 |