quickfix-developers Mailing List for QuickFIX (Page 215)
Brought to you by:
orenmnero
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
(5) |
Mar
(16) |
Apr
(15) |
May
(17) |
Jun
(33) |
Jul
(35) |
Aug
(34) |
Sep
(19) |
Oct
(40) |
Nov
(51) |
Dec
(43) |
2003 |
Jan
(45) |
Feb
(79) |
Mar
(124) |
Apr
(121) |
May
(132) |
Jun
(77) |
Jul
(110) |
Aug
(57) |
Sep
(48) |
Oct
(83) |
Nov
(60) |
Dec
(40) |
2004 |
Jan
(67) |
Feb
(72) |
Mar
(74) |
Apr
(87) |
May
(70) |
Jun
(96) |
Jul
(75) |
Aug
(147) |
Sep
(128) |
Oct
(83) |
Nov
(67) |
Dec
(42) |
2005 |
Jan
(110) |
Feb
(84) |
Mar
(68) |
Apr
(55) |
May
(51) |
Jun
(192) |
Jul
(111) |
Aug
(100) |
Sep
(79) |
Oct
(127) |
Nov
(73) |
Dec
(112) |
2006 |
Jan
(95) |
Feb
(120) |
Mar
(138) |
Apr
(127) |
May
(124) |
Jun
(97) |
Jul
(103) |
Aug
(88) |
Sep
(138) |
Oct
(91) |
Nov
(112) |
Dec
(57) |
2007 |
Jan
(55) |
Feb
(35) |
Mar
(56) |
Apr
(16) |
May
(20) |
Jun
(77) |
Jul
(43) |
Aug
(47) |
Sep
(29) |
Oct
(54) |
Nov
(39) |
Dec
(40) |
2008 |
Jan
(69) |
Feb
(79) |
Mar
(122) |
Apr
(106) |
May
(114) |
Jun
(76) |
Jul
(83) |
Aug
(71) |
Sep
(53) |
Oct
(75) |
Nov
(54) |
Dec
(43) |
2009 |
Jan
(32) |
Feb
(31) |
Mar
(64) |
Apr
(48) |
May
(38) |
Jun
(43) |
Jul
(35) |
Aug
(15) |
Sep
(52) |
Oct
(62) |
Nov
(62) |
Dec
(21) |
2010 |
Jan
(44) |
Feb
(10) |
Mar
(47) |
Apr
(22) |
May
(5) |
Jun
(54) |
Jul
(19) |
Aug
(54) |
Sep
(16) |
Oct
(15) |
Nov
(7) |
Dec
(8) |
2011 |
Jan
(18) |
Feb
(9) |
Mar
(5) |
Apr
(5) |
May
(41) |
Jun
(40) |
Jul
(29) |
Aug
(17) |
Sep
(12) |
Oct
(23) |
Nov
(22) |
Dec
(11) |
2012 |
Jan
(8) |
Feb
(24) |
Mar
(5) |
Apr
(5) |
May
(6) |
Jun
(5) |
Jul
(5) |
Aug
(5) |
Sep
(2) |
Oct
(9) |
Nov
(2) |
Dec
(18) |
2013 |
Jan
(25) |
Feb
(16) |
Mar
(8) |
Apr
(2) |
May
(16) |
Jun
(17) |
Jul
(2) |
Aug
(13) |
Sep
(3) |
Oct
(4) |
Nov
(1) |
Dec
|
2014 |
Jan
(2) |
Feb
|
Mar
(22) |
Apr
(9) |
May
(3) |
Jun
(1) |
Jul
(5) |
Aug
(11) |
Sep
(18) |
Oct
(4) |
Nov
(4) |
Dec
(3) |
2015 |
Jan
(2) |
Feb
|
Mar
|
Apr
(3) |
May
(4) |
Jun
(37) |
Jul
|
Aug
(4) |
Sep
(6) |
Oct
(1) |
Nov
(4) |
Dec
(2) |
2016 |
Jan
(9) |
Feb
(3) |
Mar
(7) |
Apr
(1) |
May
(8) |
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
(3) |
Nov
(16) |
Dec
|
2017 |
Jan
(1) |
Feb
(15) |
Mar
(2) |
Apr
(12) |
May
(4) |
Jun
(7) |
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
(23) |
Dec
(8) |
2018 |
Jan
(2) |
Feb
(4) |
Mar
(2) |
Apr
(8) |
May
(3) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(5) |
Nov
(3) |
Dec
|
2020 |
Jan
|
Feb
(4) |
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
(12) |
Aug
(5) |
Sep
(3) |
Oct
(1) |
Nov
|
Dec
(1) |
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Andrew M. <an...@nm...> - 2005-01-12 23:51:56
|
My application runs with QuickFIX 1.8 but when i put in v1.9.4 I get this error: quickfix.ConfigError: Configuration failed: Unable to connect to database Any changes to how the config file is parsed between 1.8 and 1.94??? Other ideas??? The java code and config file are below. It blows up when I try to instantiate the ThreadedSocketAcceptor. Thanks. //------ begin acceptor setup ---------------// SessionSettings settings = new SessionSettings(new FileInputStream(args[1])); MessageStoreFactory messageStoreFactory = new MySQLStoreFactory(settings); LogFactory logFactory = new MySQLLogFactory(settings); MessageFactory messageFactory = new DefaultMessageFactory(); acceptor = new ThreadedSocketAcceptor(application, messageStoreFactory, settings, logFactory, messageFactory); //-------- end acceptor setup ---------------// [LOG4J] log4j.rootLogger=DEBUG, A1 log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n [DEFAULT] ConnectionType=acceptor SocketAcceptPort=5001 StartTime=00:00:00 EndTime=00:00:00 ValidateFieldsOutOfOrder=N UseDataDictionary=Y DataDictionary=z:/javaclasses/FIX41.xml FileStorePath=store_prod CheckLatency=N MySQLStoreDatabase=multifix_in MySQLStoreUser=oms MySQLStorePassword=DoH MySQLStoreHost=d0h MySQLLogDatabase=multifix_in MySQLLogUser=oms MySQLLogPassword=DoH MySQLLogHost=d0h [SESSION] BeginString=FIX.4.1 SenderCompID=IN_MULTIFIX1 TargetCompID=TW1 |
From: Steve B. <st...@xp...> - 2005-01-12 17:23:00
|
Hello, I've been working on the QuickFIX pure Java implementation. At this point I have a working Java version of the engine but there's still a significant amount of work to do to ensure it's high enough quality for an initial release. My focus so far has been in studying the C++ implementation and rewriting it in Java. As Oren has indicated on the wiki, a direct rewrite of the C++ engine might not be the best Java implementation. I'll look into ways to internally refactor or redesign the engine for optimal Java performance without modifying the existing Java API. I currently can run Banzai and the order executor examples. I've also implemented the order matcher in Java. I have some of my own unit tests and can currently pass most of the existing Java unit tests. The Java engine already has some interesting capabilities. For example, the MySQL store and log implementations are based on a more general JDBC implementation so that a wide variety of databases can be used. The socket processing is using NIO and worker thread pools so it should have good scalability. (I'm using the Netty library for this functionality). My plans are the following: * Translate the C++ unit tests into Java * Ensure that the functional tests all work * Certify the engine with Transact Tools free ttCert service. * Profile the code and optimize CPU, memory/GC performance. Any comments or suggestions are welcome. Steve |
From: Xizhen W. <wan...@ya...> - 2005-01-12 17:16:21
|
Hi, I just wonder on what condition QF sends out the Logout message from Initiator? It seems it does not send out the Logout msg at EndTime. It simply drops the connection. Could anyone clarify? Thanks Alvin ===== /)_/) ( ._.) c(")(") __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo |
From: Xizhen W. <wan...@ya...> - 2005-01-12 16:08:55
|
Hi, At the endtime, my initiator dropped the connection. This is right. However, it keeps trying to reconnect after that. After Connection succeeds, it drops the connection again, and then connct again.... This is odd. Can anyone help? Thanks! Alvin ===== /)_/) ( ._.) c(")(") __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 |
From: Oren M. <or...@qu...> - 2005-01-12 15:10:50
|
That's listed as a dependency in the installation instructions: http://www.quickfixengine.org/quickfix/doc/html/install.html --oren On Jan 12, 2005, at 8:54 AM, Dale Wilson wrote: > Oren Miller wrote: > >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX FAQ: >> http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> These are the versions that were used for the 1.9.4 release. >> >> autoconf 2.57 >> automake 1.7.9 >> libtool 1.5 > > Thanks > When I get this working I'll write up what I had to do -- maybe in the > wiki. > The most recent missing piece is libxml2 > > Dale > |
From: Dale W. <wil...@oc...> - 2005-01-12 14:54:13
|
Oren Miller wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > These are the versions that were used for the 1.9.4 release. > > autoconf 2.57 > automake 1.7.9 > libtool 1.5 Thanks When I get this working I'll write up what I had to do -- maybe in the wiki. The most recent missing piece is libxml2 Dale |
From: Oren M. <or...@qu...> - 2005-01-12 00:15:34
|
Changed since when? Are you saying this code segment used to work? If =20= so what was the previous version you were using? --oren On Jan 11, 2005, at 4:35 PM, Patrick Flannery wrote: > Quick Fix Developers, > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 I am sending a MassQuote message = from an Initiator to an =20 > Acceptor using QuickFIX 1.9.4, the message is rejected by the acceptor = =20 > with error: > > "<20050111-22:27:14, FIX.4.4:TW->CLIENT1, event> > > =A0 (Invalid message: Expected BodyLength=3D128, Recieved = BodyLength=3D122)" > > =A0 > > I sent this message: > > "8=3DFIX.4.49=3D12235=3Di34=3D349=3DCLIENT152=3D20050111-22:27:=20 > 14.68756=3DTW117=3D0296=3D1302=3D0304=3D1295=3D155=3D0:0:0:=20 > call132=3D14133=3D0134=3D15135=3D010=3D010" > > =A0 > > Using C# code: > > =A0 int qID =3D 0; > > =A0 > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 QuickFix44.MassQuote mq =3D new = MassQuote(); > > =A0 > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 foreach(QuoteRequest q in = massQuote.QuotesRequests) > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 { > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = q.Parameters[CTCFields.ProductKey.ToString()] =3D =20 > q.ProductKey; > > =A0 > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 CTCDictionary param =3D = new CTCDictionary(q.Parameters); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = QuickFix44.MassQuote.NoQuoteSets grp =3D new =20 > QuickFix44.MassQuote.NoQuoteSets(); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 > > =A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0QuickFix44.MassQuote.NoQu= oteSets.NoQuoteEntries =20 > fields =3D new QuickFix44.MassQuote.NoQuoteSets.NoQuoteEntries(); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 QuoteSetID sID =3D new = QuoteSetID(qID.ToString()); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 grp.set(sID); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 double bidPX =3D = Convert.ToDouble(param.GetBidPrice()); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 double askPX =3D = Convert.ToDouble(param.GetAskPrice()); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 double bidSize =3D = param.GetBidSize(); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 double askSize =3D = param.GetAskSize(); > > =A0 > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 fields.set(new = BidPx(bidPX)); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 fields.set(new = BidSize(askPX)); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 fields.set(new = OfferPx(bidSize)); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 fields.set(new = OfferSize(askSize)); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 fields.set(new =20 > Symbol(param.GetProductKeyStruct().ToString())); > > =A0 > > =A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0grp.addGroup(fields); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 TotNoQuoteEntries tot =3D = new TotNoQuoteEntries(); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 tot.setValue(1);=A0=A0=A0 > > =A0 > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 grp.set(tot); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 NoQuoteEntries qu =3D = new NoQuoteEntries(); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 QuoteEntryID id =3D new = QuoteEntryID(qID.ToString()); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 fields.set(id); > > =A0 > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 qu.setValue(1); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 grp.set(qu); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 qID++; > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 mq.addGroup(grp); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 } > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 mq.set(new QuoteID("0")); > > =A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0NoQuoteSets no =3D new = NoQuoteSets(); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 no.setValue(massQuote.Count); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 mq.set(no); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Send(mq); > > =A0 > > Does anyone know why this would happen?=A0 Has any of the code =20 > responsible for repeated groups changed? > > =A0 > > =A0 > > Thanks in advance > > =A0 > > Patrick Flannery |
From: Oren M. <or...@qu...> - 2005-01-12 00:04:17
|
These are the versions that were used for the 1.9.4 release. autoconf 2.57 automake 1.7.9 libtool 1.5 On Jan 11, 2005, at 2:08 PM, Dale Wilson wrote: > QuickFIX Documentation:=20 > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ:=20 > http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > Joerg Thoennes wrote: > >> QuickFIX Documentation:=20 >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX FAQ:=20 >> http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >>> To do a build from the repository, you would need to first run the=20= >>> bootstrap script. Those files are generated by autotools, and=20 >>> different versions will generate them differently, which is why we=20= >>> do not keep them checked in. >>> >>> After running the bootstrap script, you can then follow the standard=20= >>> build instructions. You will need to have autotools installed which=20= >>> is an additional dependency on top of the normal ones. >> >> >> Oren, could you post the versions of the autotools you use to produce=20= >> the generated Makefiles in the release? This could be important for=20= >> Dale. > > Thanks Joerg, > > Indeed having a list of required tools and versions would help. As it=20= > is I'm discovering the tools missing from this system one at a time=20 > (just ran into libtoolize) With luck I've almost stumbled my way=20 > there... > > Dale > >> >> On my Linux box, I had the situation that the distributed Makefiles=20= >> work, but the ones generated using autotools do not. There was some=20= >> change with the treatment of the CPPFLAGS; I do not remember exactly.=20= >> I tracked this down to the fact that autotools version (automake 1.4=20= >> and autoconf 2.13) generated the files in another way than the tools=20= >> used to generate the distributed files. >> >> Cheers, J=F6rg >> > > > --=20 > ----------------------------------------------------- > Dale Wilson, Senior Software Engineer Object Computing, Inc.=20 > (OCI) > http://www.ociweb.com/ http://www.theaceorb.com/ > ---------------------------------------------------- > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: Patrick F. <pat...@ch...> - 2005-01-11 22:35:54
|
Quick Fix Developers, I am sending a MassQuote message from an Initiator to an Acceptor using QuickFIX 1.9.4, the message is rejected by the acceptor with error: "<20050111-22:27:14, FIX.4.4:TW->CLIENT1, event> (Invalid message: Expected BodyLength=128, Recieved BodyLength=122)" I sent this message: "8=FIX.4.49=12235=i34=349=CLIENT152=20050111-22:27:14.68756=TW117=0296=1302= 0304=1295=155=0:0:0:call132=14133=0134=15135=010=010" Using C# code: int qID = 0; QuickFix44.MassQuote mq = new MassQuote(); foreach(QuoteRequest q in massQuote.QuotesRequests) { q.Parameters[CTCFields.ProductKey.ToString()] = q.ProductKey; CTCDictionary param = new CTCDictionary(q.Parameters); QuickFix44.MassQuote.NoQuoteSets grp = new QuickFix44.MassQuote.NoQuoteSets(); QuickFix44.MassQuote.NoQuoteSets.NoQuoteEntries fields = new QuickFix44.MassQuote.NoQuoteSets.NoQuoteEntries(); QuoteSetID sID = new QuoteSetID(qID.ToString()); grp.set(sID); double bidPX = Convert.ToDouble(param.GetBidPrice()); double askPX = Convert.ToDouble(param.GetAskPrice()); double bidSize = param.GetBidSize(); double askSize = param.GetAskSize(); fields.set(new BidPx(bidPX)); fields.set(new BidSize(askPX)); fields.set(new OfferPx(bidSize)); fields.set(new OfferSize(askSize)); fields.set(new Symbol(param.GetProductKeyStruct().ToString())); grp.addGroup(fields); TotNoQuoteEntries tot = new TotNoQuoteEntries(); tot.setValue(1); grp.set(tot); NoQuoteEntries qu = new NoQuoteEntries(); QuoteEntryID id = new QuoteEntryID(qID.ToString()); fields.set(id); qu.setValue(1); grp.set(qu); qID++; mq.addGroup(grp); } mq.set(new QuoteID("0")); NoQuoteSets no = new NoQuoteSets(); no.setValue(massQuote.Count); mq.set(no); Send(mq); Does anyone know why this would happen? Has any of the code responsible for repeated groups changed? Thanks in advance Patrick Flannery |
From: Dale W. <wil...@oc...> - 2005-01-11 20:08:30
|
Joerg Thoennes wrote: > QuickFIX Documentation:=20 > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFixF= AQ > QuickFIX Support: http://www.quickfixengine.org/services.html > >> To do a build from the repository, you would need to first run the=20 >> bootstrap script. Those files are generated by autotools, and=20 >> different versions will generate them differently, which is why we do=20 >> not keep them checked in. >> >> After running the bootstrap script, you can then follow the standard=20 >> build instructions. You will need to have autotools installed which=20 >> is an additional dependency on top of the normal ones. > > > Oren, could you post the versions of the autotools you use to produce=20 > the generated Makefiles in the release? This could be important for Dal= e. Thanks Joerg, Indeed having a list of required tools and versions would help. As it=20 is I'm discovering the tools missing from this system one at a time=20 (just ran into libtoolize) With luck I've almost stumbled my way there..= . Dale > > On my Linux box, I had the situation that the distributed Makefiles=20 > work, but the ones generated using autotools do not. There was some=20 > change with the treatment of the CPPFLAGS; I do not remember exactly.=20 > I tracked this down to the fact that autotools version (automake 1.4=20 > and autoconf 2.13) generated the files in another way than the tools=20 > used to generate the distributed files. > > Cheers, J=F6rg > --=20 ----------------------------------------------------- Dale Wilson, Senior Software Engineer =20 Object Computing, Inc. (OCI) http://www.ociweb.com/ http://www.theaceorb.com/ ---------------------------------------------------- |
From: Guillermo A. A. <gar...@vi...> - 2005-01-11 11:42:24
|
Hi, i dont really know if this is a known issue of C++ / Stl, but i found =0D an strange behavior when using this methods in my appiclation. I'll try to explain it: I have a bunch of functions that fills message's string-type fields (StringBase), then, to check if the field had actually been filled, i =0D did: if(field.getValue().lenght()) =09AddField(field, msg); (which is mainly msg.set(field)) But i found that field.getValue().lenght() gave me always npos (ie. 134552524). In fact, if i try to call any non-static method directly =0D from field.getValue() i get a segfault. That makes me think that the =0D std::string returned by getValue() has not yet been created, or there is a fault in getValue() method (verly unlikely, because if i do std::string s =3D field.getValue(), s.lenght() is ok). I found that using getString() method instead works fine, as it =0D returns a reference to the string, and its even better to use, due to performance issues, if you just want to check fields length. So my question is: its a know issue (or even a feature) on C++ that u =0D cant call methods on an object returned by value directly after the function =0D is called (i.e. without having a variable to hold it), or its an STL/C++ =0D fault? Thanks to all, everyday i found quickfix more useful! P.S: =09I'm using gcc-3.2.3-49, without STLPort, and with MySQL on RedHat ES3 (IntelP4). Guillermo =0D =0D ****************************** AVISO LEGAL =0D ****************************** La informaci=C3=B3n contenida en este mensaje es para uso exclusivo de su= =0D destinatario. No debe copiarse, transmitirse a terceros ni guardarse por = =0D estos =C3=BAltimos, salvo autorizaci=C3=B3n del remitente. Puede contener informaci=C3=B3n confidencial o legalmente protegida cuyo = =0D r=C3=A9gimen legal de utilizaci=C3=B3n no se ve afectado por el hecho de = que =0D haya sido enviada por correo electr=C3=B3nico. Su env=C3=ADo por error a una persona distinta de su destinatario real no= =0D implica que se haya modificado tal destinatario ni supone renuncia a su =0D eventual car=C3=A1cter confidencial o al r=C3=A9gimen legal que rija su =0D utilizaci=C3=B3n. Cualquier opini=C3=B3n expresada en este mensaje vincular=C3=A1 exclusiva= mente a =0D la persona que lo haya remitido, excepto cuando el mensaje establezca lo = =0D contrario y el remitente est=C3=A9 autorizado para establecer que dichas = =0D opiniones vincular=C3=A1n a esta entidad.=20 En el supuesto de que este correo se recibiera por error, rogamos =0D procedan a borrarlo, sin reenviarlo a terceros ni conservarlo en =0D cualquier soporte y nos informen inmediatamente llamando al tel=C3=A9fono= 34 =0D 91 5892123 o a la direcci=C3=B3n de correo electr=C3=B3nico remitente. Gr= acias. ****************************** DISCLAIMER ****************************** The information contained in this message is for the exclusive use of =0D the named person. It can not be copied, transmitted to third parties or =0D stored by the latter, except if authorised by the sender. It may contain confidential or legally privileged information whose =0D legal regime is not affected by the fact that this information has been =0D sent by e-mail.=20 Its erroneous transmission to a person other than the real named person =0D neither implies any modification of this named person nor a renunciation = =0D of the eventual confidentiality or legal regime affecting the use of =0D concerned message. =20 Any views expressed in this message are binding exclusively upon the =0D individual sender, except where the message states otherwise and the =0D sender is authorised to bind this entity.=20 If you receive this message in error, please delete it without =0D transmitting it to any third party or keeping it in any form and notify =0D us immediately either by phone (34 91 5892123) or using the e- mail =0D address of the sender. Thank You.=0D |
From: Joerg T. <Joe...@ma...> - 2005-01-11 11:19:10
|
> To do a build from the repository, you would need to first run the > bootstrap script. Those files are generated by autotools, and different > versions will generate them differently, which is why we do not keep > them checked in. > > After running the bootstrap script, you can then follow the standard > build instructions. You will need to have autotools installed which is > an additional dependency on top of the normal ones. Oren, could you post the versions of the autotools you use to produce the generated Makefiles in the release? This could be important for Dale. On my Linux box, I had the situation that the distributed Makefiles work, but the ones generated using autotools do not. There was some change with the treatment of the CPPFLAGS; I do not remember exactly. I tracked this down to the fact that autotools version (automake 1.4 and autoconf 2.13) generated the files in another way than the tools used to generate the distributed files. Cheers, Jörg -- Joerg Thoennes http://macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen |
From: Oren M. <or...@qu...> - 2005-01-11 05:16:55
|
Yup. --oren ----- Original Message ----- From: "Jason Fagan" <jf...@ty...> To: <qui...@li...> Sent: Monday, January 10, 2005 2:02 AM Subject: [Quickfix-developers] RE: fromAdmin/fromApp not getting called on Logout from rejected logon > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > To update on this problem, trying the suggested fix by Caleb Epstein > solved > the problem with the Logout message being ignored. > > Will the suggested fix be in the next release? > > Caleb Epsteins' solution : > >> In Session::validLogonState >> >> if ( msgType == MsgType_Logout && m_state.sentLogon ()) >> return true; >> > > Thanks > > Jason Fagan > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: Oren M. <or...@qu...> - 2005-01-10 20:52:25
|
Dale, To do a build from the repository, you would need to first run the bootstrap script. Those files are generated by autotools, and different versions will generate them differently, which is why we do not keep them checked in. After running the bootstrap script, you can then follow the standard build instructions. You will need to have autotools installed which is an additional dependency on top of the normal ones. --oren ----- Original Message ----- From: "Dale Wilson" <wil...@oc...> To: <qui...@li...> Sent: Monday, January 10, 2005 2:38 PM Subject: [Quickfix-developers] Building Quickfix from CVS > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi, > > I've run into a snag trying to build Quickfix in our development > environment. > > QuickFIX version 1.9.4 > OS: SunOS 5.9 > Compiler & toos: gcc 3.2.1, autoconf 2.59 > > If I pull the tar.gz file, expand it, and follow the instructions in the > installation doc (i.e. run configure then make) it builds fine. > > However, for the project I am working on we want to store the third party > suport libraries in in our CVS repository. Among other things this lets > us do automated pull, build, and test from the repository based on a > single tag. QuickFIX, of course, is one of those third party libraries. > > When I import QuickFIX into our cvs repository I run afoul of the > .cvsignores that are in the distribution. In particular .cvsignore at the > QUICKFIX_ROOT level ignores Makefile (that makes sense). However it also > ignores configure, Makefile.in, aclocal.m4, and several other files which > are needed to generate the Makefile. That means when I pull it back out > of CVS the instructions from the installation doc no longer work.. > > It appears that the missing files are created by autoconfig. Are there > instructions anywhere for building QuickFIX from what gets stored in the > CVS repository? I don't (yet) have any experience with autoconfig, but > I'm willing to learn. > > Thanks, > > Dale > > -- > ----------------------------------------------------- > Dale Wilson, Senior Software Engineer Object Computing, Inc. (OCI) > http://www.ociweb.com/ http://www.theaceorb.com/ > ---------------------------------------------------- > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: Dale W. <wil...@oc...> - 2005-01-10 20:38:28
|
Hi, I've run into a snag trying to build Quickfix in our development environment. QuickFIX version 1.9.4 OS: SunOS 5.9 Compiler & toos: gcc 3.2.1, autoconf 2.59 If I pull the tar.gz file, expand it, and follow the instructions in the installation doc (i.e. run configure then make) it builds fine. However, for the project I am working on we want to store the third party suport libraries in in our CVS repository. Among other things this lets us do automated pull, build, and test from the repository based on a single tag. QuickFIX, of course, is one of those third party libraries. When I import QuickFIX into our cvs repository I run afoul of the .cvsignores that are in the distribution. In particular .cvsignore at the QUICKFIX_ROOT level ignores Makefile (that makes sense). However it also ignores configure, Makefile.in, aclocal.m4, and several other files which are needed to generate the Makefile. That means when I pull it back out of CVS the instructions from the installation doc no longer work.. It appears that the missing files are created by autoconfig. Are there instructions anywhere for building QuickFIX from what gets stored in the CVS repository? I don't (yet) have any experience with autoconfig, but I'm willing to learn. Thanks, Dale -- ----------------------------------------------------- Dale Wilson, Senior Software Engineer Object Computing, Inc. (OCI) http://www.ociweb.com/ http://www.theaceorb.com/ ---------------------------------------------------- |
From: Bud G. <bgr...@gl...> - 2005-01-10 18:54:20
|
There's a problem with compiling quickfix 1.9.4 on Solaris systems caused by the addition on the #define _XOPEN_SOURCE 1 in configure. Solaris (and NetBSD as well, I think) needs the version of XOpen supplied instead of a boolean value as comparisons are made in system header files to determine which features to provide. Possibly using #ifndef _XOPEN_SOURCE to determine whether to set the value could be used in configure.in. Solaris needs 500 as the value to _XOPEN_SOURCE to compile and link properly. Thanks, Bud -- Bud Griffin bgr...@gl... GlobalTec Solutions, LLP 5010 Addison Circle Addison, TX 75001 1-888-304-8881 x2314 1-972-387-4829 FAX |
From: Oren M. <or...@qu...> - 2005-01-10 17:51:55
|
Jason, Use logoff instead of disconnect, then use logon when you want the session to reastablish connection. --oren ----- Original Message ----- From: "Jason Fagan" <jf...@ty...> To: <qui...@li...> Sent: Monday, January 10, 2005 5:04 AM Subject: [Quickfix-developers] Require help with session control > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi > > Could someone please explain how the session can be controlled when acting > as an initiator? > > I use the SocketInitiator, but this sends a Logon for you, the problem I > have is that if I get a logout due to a bad logon the code starts sending > a > logon again even if I do a Session::disconnect in the fromAdmin callback. > > Any help with this would be gratefully received. > > Regards > > > Jason Fagan > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: Jason F. <jf...@ty...> - 2005-01-10 11:05:00
|
Hi Could someone please explain how the session can be controlled when acting as an initiator? I use the SocketInitiator, but this sends a Logon for you, the problem I have is that if I get a logout due to a bad logon the code starts sending a logon again even if I do a Session::disconnect in the fromAdmin callback. Any help with this would be gratefully received. Regards Jason Fagan |
From: Jason F. <jf...@ty...> - 2005-01-10 08:02:54
|
To update on this problem, trying the suggested fix by Caleb Epstein solved the problem with the Logout message being ignored. Will the suggested fix be in the next release? Caleb Epsteins' solution : > In Session::validLogonState > > if ( msgType == MsgType_Logout && m_state.sentLogon ()) > return true; > Thanks Jason Fagan |
From: R P H. <he...@ow...> - 2005-01-09 23:59:17
|
On Sun, 9 Jan 2005, Oren Miller wrote: > You can safely ignore the warning. As for Ruby, you do not need it to build > the project, however you will need it if you intend on running the acceptance > tests. Since you are building this with what looks like a pretty unique > configuration, I would say it would be highly recommended that you do this. I installed ruby and dependency friends -- In checking the Makefile, I do not see automated buildtime testing. The ./doc/html/ directory has a couple likely pages, but I do not hit on the method for running the tests. I moved into .test/ and fired off ./check.sh, which has completed 140 tests with zero failures, and then proceeded to emit what appears to be a largish XML test harness result. Dunno about a unique configuration -- RHEL is pretty large in its pond, and pretty actively and successfully courting some large commercial bank players; I have used it widely in a non-bank financial for which I heavily consulted. I do not get the feel that SuSE/Novell are as well accepted (being a Novell admin, as well as a RH developer, I feel I can opine) Centos is the largest and most well organized of the non-proprietary rebuild efforts. ahhh -- a second test finished, with 288/0; I'll rerun it an look just for the results frames: [herrold@couch test]$ export PATH="/opt/IBMJava2-142/bin/:$PATH" ; export JAVA_HOME="/opt/IBMJava2-142" ; time ( ./check.sh | grep results) <results total="140" failures="0"> </results> <results total='278' failures='0'/> [herrold@couch test]$ check_java.sh and runat and friends seem to need a counter-party server to connect to, so I will skip these for the moment, as I work through the code ;) > The java error you are getting is being reported by Ant . The ant.jar that is > being distributed with QuickFIX is actually quite old. If you stick an new ... > Also, should you be settings your JAVA_HOME to the bin directory? I would > think you would want it to be just, /opt/IBMJava2-142 I deferred putting in a new ant.jar, as I prefer to remain with upstream developers, for ease of diagnosing issues. I did however trim the JAVA_HOME path, and this did the trick. Thanks -- Russ Herrold |
From: Oren M. <or...@qu...> - 2005-01-09 18:15:33
|
You can safely ignore the warning. As for Ruby, you do not need it to build the project, however you will need it if you intend on running the acceptance tests. Since you are building this with what looks like a pretty unique configuration, I would say it would be highly recommended that you do this. The java error you are getting is being reported by Ant . The ant.jar that is being distributed with QuickFIX is actually quite old. If you stick an new version in quickfix/lib directory, I think it will have better compiler support. Here is the list of compilers they currently support: http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/ taskdefs/compilers/ Also, should you be settings your JAVA_HOME to the bin directory? I would think you would want it to be just, /opt/IBMJava2-142 --oren On Jan 9, 2005, at 7:30 AM, R P Herrold wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: > http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi > > I have two questions, framed inline, as to a possible 'ruby' > requirement, and in a possible hard-coded vendor specific Javac. > > > I had installed the IBM java SDK [IBMJava2-SDK-1.4.2-1.0] in a Centos > Linux (RHEL rebuild), at ver 3.4, fully updated, with a hope to get a > clean build of quickfix-1.9.4.tar.gz > > Build was kicked off thus: > > $ export PATH="/opt/IBMJava2-142/bin/:$PATH" ; export \ > JAVA_HOME="/opt/IBMJava2-142/bin" ; \ > make distclean > /dev/null ; \ > ./configure > /dev/null ; \ > echo "start make" ; \ > make | tee /tmp/qf_bcuild-txt > > configure: WARNING: ``missing' script is too old or missing > ./configure: line 1: ruby: command not found > start make > > Question 1 -- do I need to install Ruby? I did not see this in the > Installation build requirements or the FAQ -- I can if needed. Also, > I an comfused by the message: ["configure: WARNING: ^Missing' script > is too old or missing"] > > > Question 2 -- as seen at the end of this, it looks as though a > hardcoded javac frum Sun is being sought ["com.sun.tools.javac.Main"]. > Is this within the quickfix-1.9.4.tar.gz tarball, or something in my > local build environment which I need to solve upstream within my > distribution? > > [ and later ... ] > > /bin/sh ../libtool --mode=link g++ -g -O2 -I/usr/include/libxml2 > -I/opt/IBMJava2-142/bin/include -I/opt/IBMJava2-142/bin/include/linux > -o > pt pt.o C++/libquickfix.la -lpthread -L/usr/lib -lxml2 -lz > -lpthread -lm > -liberty > g++ -g -O2 -I/usr/include/libxml2 -I/opt/IBMJava2-142/bin/include > -I/opt/IBMJava2-142/bin/include/linux -o .libs/pt pt.o > C++/.libs/libquickfix.so -L/usr/lib /usr/lib/libxml2.so -lz -lpthread > -lm > -liberty -Wl,--rpath -Wl,/usr/local/lib > creating pt > rm -f ../bin/ut ../bin/pt ../bin/at > ln -s ../src/ut ../bin/ut > ln -s ../src/pt ../bin/pt > ln -s ../src/at ../bin/at > bash ./build.sh > Buildfile: build.xml > > init: > [mkdir] Created dir: > /home/herrold/build/quickfix/quickfix/src/build > > compile: > [javac] Compiling 3 source files to > /home/herrold/build/quickfix/quickfix/src/build > > BUILD FAILED > file:/home/herrold/build/quickfix/quickfix/src/build.xml:22: Unable to > find > a javac compiler; > com.sun.tools.javac.Main is not on the classpath. > Perhaps JAVA_HOME does not point to the JDK > > Total time: 0 seconds > make[3]: *** [all-local] Error 1 > make[3]: Leaving directory /home/herrold/build/quickfix/quickfix/src' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory /home/herrold/build/quickfix/quickfix/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory /home/herrold/build/quickfix/quickfix' > make: *** [all] Error 2 > > [herrold@couch quickfix]$ export PATH="/opt/IBMJava2-142/bin/:$PATH" ; > export JAVA_HOME="/opt/IBMJava2-142/bin" ; which javac > /opt/IBMJava2-142/bin/javac > > [herrold@couch quickfix]$ rpm -qa | grep IBM > IBMJava2-SDK-1.4.2-1.0 > > [herrold@couch quickfix]$ ls .. > quickfix quickfix-1.9.4.tar.gz > > [herrold@couch quickfix]$ export PATH="/opt/IBMJava2-142/bin/:$PATH" ; > \ > export JAVA_HOME="/opt/IBMJava2-142/bin" ; set > BASH=/bin/bash > BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" > [5]="i686-redhat-linux-gnu") > BASH_VERSION='2.05b.0(1)-release' > COLORS=/etc/DIR_COLORS.xterm > COLORTERM= > COLUMNS=80 > DIRSTACK=() > DISPLAY=:0 > EUID=500 > GDMSESSION=Default > GROUPS=() > G_BROKEN_FILENAMES=1 > HISTFILE=/home/herrold/.bash_history > HISTFILESIZE=1000 > HISTSIZE=1000 > HOME=/home/herrold > HOSTNAME=couch.basement.lan > HOSTTYPE=i686 > IFS=$' \t\n' > INPUTRC=/etc/inputrc > JAVA_HOME=/opt/IBMJava2-142/bin > KONSOLE_DCOP='DCOPRef(konsole-1409,konsole)' > KONSOLE_DCOP_SESSION='DCOPRef(konsole-1409,session-3)' > LANG=en_US.UTF-8 > LANGVAR=en_US.UTF-8 > LESSOPEN='|/usr/bin/lesspipe.sh %s' > LINES=24 > LOGNAME=herrold > LS_COLORS='no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33; > 01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32: > *.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00; > 32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31: > *.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31: > *.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00; > 35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:' > MACHTYPE=i686-redhat-linux-gnu > MAIL=/var/spool/mail/herrold > MAILCHECK=60 > OLDPWD=/home/herrold/build/quickfix > OPTERR=1 > OPTIND=1 > OSTYPE=linux-gnu > PATH=/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/ > bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/ > bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/ > bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/usr/kerberos/bin:/ > usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/herrold/bin > PIPESTATUS=([0]="0") > PPID=1409 > PROMPT_COMMAND='echo -ne > "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"' > PS1='[\u@\h \W]\$ ' > PS2='> ' > PS4='+ ' > PWD=/home/herrold/build/quickfix/quickfix > QTDIR=/usr/lib/qt-3.1 > SHELL=/bin/bash > SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive- > comments:monitor > SHLVL=5 > SSH_AGENT_PID=1313 > SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass > SSH_AUTH_SOCK=/tmp/ssh-fUnH1262/agent.1262 > SUPPORTED=en_US.UTF-8:en_US:en > TERM=xterm > UID=500 > USER=herrold > XAUTHORITY=/home/herrold/.Xauthority > XMODIFIERS=@im=none > _=JAVA_HOME > i=/etc/profile.d/which-2.sh > > [herrold@couch quickfix]$ uname -a > Linux couch.basement.lan 2.4.21-27.0.1.ELsmp #1 SMP Fri Dec 24 > 01:28:09 GMT > 2004 i686 i686 i386 GNU/Linux > > [herrold@couch quickfix]$ cat /etc/redhat-release > CentOS release 3.4 (final) > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: R P H. <he...@ow...> - 2005-01-09 13:30:31
|
Hi I have two questions, framed inline, as to a possible 'ruby' requirement, and in a possible hard-coded vendor specific Javac. I had installed the IBM java SDK [IBMJava2-SDK-1.4.2-1.0] in a Centos Linux (RHEL rebuild), at ver 3.4, fully updated, with a hope to get a clean build of quickfix-1.9.4.tar.gz Build was kicked off thus: $ export PATH="/opt/IBMJava2-142/bin/:$PATH" ; export \ JAVA_HOME="/opt/IBMJava2-142/bin" ; \ make distclean > /dev/null ; \ ./configure > /dev/null ; \ echo "start make" ; \ make | tee /tmp/qf_bcuild-txt configure: WARNING: ``missing' script is too old or missing ./configure: line 1: ruby: command not found start make Question 1 -- do I need to install Ruby? I did not see this in the Installation build requirements or the FAQ -- I can if needed. Also, I an comfused by the message: ["configure: WARNING: ^Missing' script is too old or missing"] Question 2 -- as seen at the end of this, it looks as though a hardcoded javac frum Sun is being sought ["com.sun.tools.javac.Main"]. Is this within the quickfix-1.9.4.tar.gz tarball, or something in my local build environment which I need to solve upstream within my distribution? [ and later ... ] /bin/sh ../libtool --mode=link g++ -g -O2 -I/usr/include/libxml2 -I/opt/IBMJava2-142/bin/include -I/opt/IBMJava2-142/bin/include/linux -o pt pt.o C++/libquickfix.la -lpthread -L/usr/lib -lxml2 -lz -lpthread -lm -liberty g++ -g -O2 -I/usr/include/libxml2 -I/opt/IBMJava2-142/bin/include -I/opt/IBMJava2-142/bin/include/linux -o .libs/pt pt.o C++/.libs/libquickfix.so -L/usr/lib /usr/lib/libxml2.so -lz -lpthread -lm -liberty -Wl,--rpath -Wl,/usr/local/lib creating pt rm -f ../bin/ut ../bin/pt ../bin/at ln -s ../src/ut ../bin/ut ln -s ../src/pt ../bin/pt ln -s ../src/at ../bin/at bash ./build.sh Buildfile: build.xml init: [mkdir] Created dir: /home/herrold/build/quickfix/quickfix/src/build compile: [javac] Compiling 3 source files to /home/herrold/build/quickfix/quickfix/src/build BUILD FAILED file:/home/herrold/build/quickfix/quickfix/src/build.xml:22: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK Total time: 0 seconds make[3]: *** [all-local] Error 1 make[3]: Leaving directory /home/herrold/build/quickfix/quickfix/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory /home/herrold/build/quickfix/quickfix/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /home/herrold/build/quickfix/quickfix' make: *** [all] Error 2 [herrold@couch quickfix]$ export PATH="/opt/IBMJava2-142/bin/:$PATH" ; export JAVA_HOME="/opt/IBMJava2-142/bin" ; which javac /opt/IBMJava2-142/bin/javac [herrold@couch quickfix]$ rpm -qa | grep IBM IBMJava2-SDK-1.4.2-1.0 [herrold@couch quickfix]$ ls .. quickfix quickfix-1.9.4.tar.gz [herrold@couch quickfix]$ export PATH="/opt/IBMJava2-142/bin/:$PATH" ; \ export JAVA_HOME="/opt/IBMJava2-142/bin" ; set BASH=/bin/bash BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i686-redhat-linux-gnu") BASH_VERSION='2.05b.0(1)-release' COLORS=/etc/DIR_COLORS.xterm COLORTERM= COLUMNS=80 DIRSTACK=() DISPLAY=:0 EUID=500 GDMSESSION=Default GROUPS=() G_BROKEN_FILENAMES=1 HISTFILE=/home/herrold/.bash_history HISTFILESIZE=1000 HISTSIZE=1000 HOME=/home/herrold HOSTNAME=couch.basement.lan HOSTTYPE=i686 IFS=$' \t\n' INPUTRC=/etc/inputrc JAVA_HOME=/opt/IBMJava2-142/bin KONSOLE_DCOP='DCOPRef(konsole-1409,konsole)' KONSOLE_DCOP_SESSION='DCOPRef(konsole-1409,session-3)' LANG=en_US.UTF-8 LANGVAR=en_US.UTF-8 LESSOPEN='|/usr/bin/lesspipe.sh %s' LINES=24 LOGNAME=herrold LS_COLORS='no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:' MACHTYPE=i686-redhat-linux-gnu MAIL=/var/spool/mail/herrold MAILCHECK=60 OLDPWD=/home/herrold/build/quickfix OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/herrold/bin PIPESTATUS=([0]="0") PPID=1409 PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"' PS1='[\u@\h \W]\$ ' PS2='> ' PS4='+ ' PWD=/home/herrold/build/quickfix/quickfix QTDIR=/usr/lib/qt-3.1 SHELL=/bin/bash SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor SHLVL=5 SSH_AGENT_PID=1313 SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SSH_AUTH_SOCK=/tmp/ssh-fUnH1262/agent.1262 SUPPORTED=en_US.UTF-8:en_US:en TERM=xterm UID=500 USER=herrold XAUTHORITY=/home/herrold/.Xauthority XMODIFIERS=@im=none _=JAVA_HOME i=/etc/profile.d/which-2.sh [herrold@couch quickfix]$ uname -a Linux couch.basement.lan 2.4.21-27.0.1.ELsmp #1 SMP Fri Dec 24 01:28:09 GMT 2004 i686 i686 i386 GNU/Linux [herrold@couch quickfix]$ cat /etc/redhat-release CentOS release 3.4 (final) |
From: Xizhen W. <wan...@ya...> - 2005-01-07 19:53:11
|
Hi, I ran into FileNotFoundException when I call ThreadedSocketInitiator or SocketInitiator constructor. I am very confident that the configuration file is in place. As you can see, the program can continue to run the build FIX connection and logon..... Can anyone tell me why I have this exception? Also what is the difference between ThreadedSocketInitiator and SocketInitiator. I really believe the documentation of the classes should be improved. Thanks! Alvin ------------------------------------------------------- String file = "Sender.cfg"; SessionSettings settings = new SessionSettings(new FileInputStream(file)); initiator = new ThreadedSocketInitiator(this, new MySQLStoreFactory(settings), settings, new ScreenLogFactory(true, true, true), new DefaultMessageFactory()); initiator.start(); ------------------------------------- Hit uncaught exception java.io.FileNotFoundException(this is JBuilder's print out) Hit uncaught exception java.io.FileNotFoundException(this is JBuilder's print out) <20050107-19:34:15, FIX.4.1:Sender->Executor, event> (Created session) <20050107-19:34:15, FIX.4.1:Sender->Executor, event> (Connecting to localhost on port 5001) <20050107-19:34:15, FIX.4.1:Sender->Executor, event> (Connection succeeded) ===== /)_/) ( ._.) c(")(") __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 |
From: Jason F. <jf...@ty...> - 2005-01-07 14:39:50
|
> Sounds like a bug in QuickFIX. According to the FIX 4.4 spec, in the > Session Protocol section, page 6: > > "If authentication fails, the session acceptor should shut down the > connection after *optionally sending a Logout message* to indicate the > reason of failure" > > Emphasis mine. So it is possible to receive a Logout without having > successfully logged in. I think there just needs to be a small change > to Session::validLogonState to handle this case. Something like: > > if ( msgType == MsgType_Logout && m_state.sentLogon ()) > return true; > > The Session::nextLogout code should probably NOT generate a Logout > response in response to this message, however. Caleb, That's what I thought, I'll try your suggested change and see if that helps with my problem. Thanks for the tip. Jason |
From: Caleb E. <cal...@gm...> - 2005-01-07 13:26:12
|
On Fri, 7 Jan 2005 09:36:45 -0000, Jason Fagan <jf...@ty...> wrote: > After some investigation it appears that a logic_error of "Logon state is > not valid for message" is being thrown in response to the Logout message > being sent from CME, thus resulting in the fromAdmin callback not being > called. Is this expected behavior or a possible bug? Sounds like a bug in QuickFIX. According to the FIX 4.4 spec, in the Session Protocol section, page 6: "If authentication fails, the session acceptor should shut down the connection after *optionally sending a Logout message* to indicate the reason of failure" Emphasis mine. So it is possible to receive a Logout without having successfully logged in. I think there just needs to be a small change to Session::validLogonState to handle this case. Something like: if ( msgType == MsgType_Logout && m_state.sentLogon ()) return true; The Session::nextLogout code should probably NOT generate a Logout response in response to this message, however. -- Caleb Epstein caleb dot epstein at gmail dot com |