Re: [Quickfix-developers] RE: I have a question about QF-J
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2005-06-28 16:59:34
|
That's how the C++/JNI wrapper work. Running under jni you would have gotten an error message like this: quickfix.ConfigError: Configuration failed: /directory/ MyMissingFile.xml: Could not parse data dictionary file There it just short circuits and breaks out of any other initialization. --oren On Jun 28, 2005, at 11:45 AM, Steve Bate 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 > > Was there an earlier exception that may have caused the session > to not be configured? For example, not finding the dictionary could > have this effect. I write a simple application using your config > file and I got the exception you reported before I changed the > DataDictionary setting to a data dictionary on my local computer. > After that change, the application started with no problem. I'm > not saying the data dictionary setting is the problem on your system. > It could be something else. > > The code is written so that an exception during initializing a > particular session will not cause the socket initiator class to > stop processing other session definitions. If users prefer to have > the socket initiator die if any specific can't be initiated, I'd > be happy to make that change. Let me know. > > Steve > > >> -----Original Message----- >> From: VP Marketing IT Asset Enterprise Technologies >> [mailto:ass...@gm...] >> Sent: Tuesday, June 28, 2005 10:41 AM >> To: Steve Bate >> Cc: qui...@li... >> Subject: I have a question about QF-J >> >> quickfix.ConfigError: no initiators in settings >> at >> quickfix.netty.AbstractSocketInitiator.initialize >> (AbstractSocketInitiator. >> java:178) >> at >> quickfix.netty.AbstractSocketInitiator.start >> (AbstractSocketInitiator.java: >> 117) >> at FixGwy.<init>(Unknown Source) >> at FixGwy.main(Unknown Source) >> >> I am getting this error. >> Here is what I have done: >> I got the j CVS distribution and did the build using build.xml. >> All the >> tests >> ran fine. >> Then I integrated with my application which had been built on >> quickfix >> distribution. >> I removed the lines which loaded the quickfix_jni library. >> I did not do any other change. >> I included the /build/classes/product directory and a couple of jars >> from j/lib directory. I am getting the above exception. >> >> Here is the contents of my settings file: >> >> [DEFAULT] >> ConnectionType=initiator >> HeartBtInt=30 >> FileStorePath=store >> StartTime=00:00:00 >> EndTime=00:00:00 >> UseDataDictionary=Y >> SocketConnectHost=199.53.16.226 >> SocketConnectPort=5545 >> ReconnectInterval=1 >> >> [SESSION] >> BeginString=FIX.4.2 >> SenderCompID=FMCPTEST >> TargetCompID=CSFBTEST >> DataDictionary=/home/rkannan/FIX/dist/quickfix/spec/FIX42.xml >> >> Right after I hit the send button I am going to look at cfg for >> Banzai >> and try to mimic that. >> BTW, >> >> I have a SharedBlockedQueue which uses one other class SharedCounter >> which implements thread safe get and put with and without time to >> wait. >> All my sockets IO is feeding this Queue and all my Object reads are >> blocked >> or unblocked as needed. If you would like to look at the >> implementation please let me know. I am looking forward to >> implementing some stuff for quickfixj >> right after I get this project out of my plate. >> >> Bye >> >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > |