Re: [Quickfix-users] error:no session defined for initiator
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2005-04-14 13:52:50
|
That COM problem is fixed in the repository. It has to do with which =20= threading model you are using vs. which one we are trying to use when =20= loading MSXML. Future versions will detect the correct model and load =20= appropriately. In any case it is ok to not use a DataDictionary as long as you do not =20= plan to use repeating groups. Otherwise it is absolutely necessary. =20= If you plan on just doing things like basic order routing with =20 NewOrderSingle, ExecutionReport etc, you will be just fine. --oren On Apr 13, 2005, at 9:02 AM, George M. Coles 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 > > I resolved the COM error by entering UseDataDictionary=3DN, now I am =20= > trying to get the initiator to succesfully log on to the session. Is =20= > it bad not to use the DataDictionary? > > Thanks for your help! > > Best, > George > > Guillermo Arbeiza Alameda wrote: > >> Have you just copied the contents of your config file here? If that's = =20 >> the >> case you should look carefully to the ConnectionType field: it should = =20 >> be >> "initiator" instead of "initator". >> >> Hope it will help. >> >> Cheers, >> Guillermo. >> >> -----Mensaje original----- >> De: qui...@li... >> [mailto:qui...@li...]En nombre de = George >> M. Coles >> Enviado el: martes, 12 de abril de 2005 15:18 >> Para: qui...@li... >> Asunto: [Quickfix-users] error:no session defined for initiator >> >> >> QuickFIX Documentation: >> 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 >> >> I am trying to use the sample c# application code with a simple = config >> file. I get the error "no session defined for initiator" in the >> constructor of my Intiator object. Here is my code and the config = fiel >> contents: >> >> try >> { >> SessionSettings settings =3D new >> SessionSettings(_fileName); >> FixApplication application =3D new = FixApplication(); >> FileStoreFactory storeFactory =3D new >> FileStoreFactory(settings); >> FileLogFactory logFactory =3D new >> FileLogFactory(settings); >> MessageFactory messageFactory =3D new >> DefaultMessageFactory(); >> ThreadedSocketInitiator init =3D new >> ThreadedSocketInitiator( application, storeFactory, settings, >> messageFactory ); >> } >> catch(ConfigError e) >> { >> log.Error( e ); >> } >> >> config file: >> [DEFAULT] >> ConnectionType=3Dinitator >> ReconnectInterval=3D30 >> HeartBtInt=3D30 >> SenderCompID=3DA >> >> [SESSION] >> BeginString=3DFIX.4.2 >> TargetCompID=3DB >> SocketConnectPort=3D9890 >> SocketConnectHost=3D192.168.1.8 >> DataDictionary=3DC:/tools/quickfix/quickfix-bin-vc7-1.9.4/quickfix/=20= >> spec/FIX42. >> xml >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real =20 >> users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick >> _______________________________________________ >> Quickfix-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-users >> >> >> *** >> >> >> >> ****************************** AVISO LEGAL =20 >> ****************************** >> >> La informaci=F3n contenida en este mensaje es para uso exclusivo de = su =20 >> destinatario. No debe copiarse, transmitirse a terceros ni guardarse =20= >> por estos =FAltimos, salvo autorizaci=F3n del remitente. >> >> Puede contener informaci=F3n confidencial o legalmente protegida cuyo = =20 >> r=E9gimen legal de utilizaci=F3n no se ve afectado por el hecho de = que =20 >> haya sido enviada por correo electr=F3nico. >> >> Su env=EDo por error a una persona distinta de su destinatario real = no =20 >> implica que se haya modificado tal destinatario ni supone renuncia a =20= >> su eventual car=E1cter confidencial o al r=E9gimen legal que rija su =20= >> utilizaci=F3n. >> >> Cualquier opini=F3n expresada en este mensaje vincular=E1 = exclusivamente =20 >> a la persona que lo haya remitido, excepto cuando el mensaje =20 >> establezca lo contrario y el remitente est=E9 autorizado para =20 >> establecer que dichas opiniones vincular=E1n a esta entidad. >> En el supuesto de que este correo se recibiera por error, rogamos =20 >> procedan a borrarlo, sin reenviarlo a terceros ni conservarlo en =20 >> cualquier soporte y nos informen inmediatamente llamando al tel=E9fono = =20 >> 34 91 5892123 o a la direcci=F3n de correo electr=F3nico remitente. =20= >> Gracias. >> >> ****************************** DISCLAIMER =20 >> ****************************** >> >> The information contained in this message is for the exclusive use of = =20 >> the named person. It can not be copied, transmitted to third parties =20= >> or stored by the latter, except if authorised by the sender. >> >> It may contain confidential or legally privileged information whose =20= >> legal regime is not affected by the fact that this information has =20= >> been sent by e-mail. >> Its erroneous transmission to a person other than the real named =20 >> person neither implies any modification of this named person nor a =20= >> renunciation of the eventual confidentiality or legal regime =20 >> affecting the use of concerned message. >> Any views expressed in this message are binding exclusively upon the =20= >> individual sender, except where the message states otherwise and the =20= >> sender is authorised to bind this entity. >> If you receive this message in error, please delete it without =20 >> transmitting it to any third party or keeping it in any form and =20 >> notify us immediately either by phone (34 91 5892123) or using the e- = =20 >> mail address of the sender. Thank You. >> >> > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real =20 > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dclick > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > |