{{Quickfixn}} Unable to set up initiator configuration...

Thomas Tomiczek t.tomiczek at nettecture.com
Thu Mar 8 23:12:09 PST 2012


...and lost - error message does not help.



The config file is:





# default settings for sessions

[DEFAULT]

ConnectionType=initiator

StartTime=00:00:00

EndTime=00:00:00

FileStorePath=store

FileLogPath=log

ResetOnLogon=Y

ResetOnLogout=Y

ResetOnDisconnect=Y

LogoutTimeout=5

ReconnectInterval=2

HeartBtInt=30



[SESSION]

BeginString=FIX.4.2

SenderCompID=NINJADEMO5

TargetCompID=TT_ORDER

SocketConnectHost=xxx

SocketConnectPort=xxx

UseDataDictionary=N

#DataDictionary=FIX42.TT.xml



[SESSION]

BeginString=FIX.4.2

SenderCompID=NINJADEMO5

TargetCompID=TT_PRICE

SocketConnectHost=xxx

SocketConnectPort=xxx

UseDataDictionary=N

#DataDictionary=FIX42.TT.xml





I have eliminated IP and sockets.



Anyhow, the error is in my line of code:



IInitiator initiator = new QuickFix.Transport.SocketInitiator(upFix, storeFactory, upSettings, logFactory);



And is:



QuickFix.ConfigError occurred

  Message=Configuration failed: Session 'FIX.4.2:NINJADEMO5->TT_ORDER' not found

  Source=QuickFix

  StackTrace:

       at QuickFix.SessionSettings.Get(SessionID sessionID)

       at QuickFix.FileLogFactory.Create(SessionID sessionID)

       at QuickFix.Session..ctor(Application app, MessageStoreFactory storeFactory, SessionID sessID, DataDictionaryProvider dataDictProvider, SessionSchedule sessionSchedule, Int32 heartBtInt, LogFactory logFactory, IMessageFactory msgFactory, String senderDefaultApplVerID)

      at QuickFix.SessionFactory.Create(SessionID sessionID, Dictionary settings)

       at QuickFix.AbstractInitiator..ctor(Application app, MessageStoreFactory storeFactory, SessionSettings settings, LogFactory logFactory)

       at QuickFix.Transport.SocketInitiator..ctor(Application application, MessageStoreFactory storeFactory, SessionSettings settings, LogFactory logFactory)

       at Workshelf.TtFixBridge.Program.Main(String[] args) in c:\Work\Tradex\Source\Workshelf.TtFixBridge\Program.cs:line 25

  InnerException:



That is simply not enough information for me to deduct what is going wrong here. It s quite obvious that the session SHOULD exist (as in: the combo makes sense as a SESSION element), and I compared it to the configuration examples, but I am simply lost to find out what goes wrong here.



Anyone an idea?



Regards



Thomas







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20120309/4555f68b/attachment.htm>


More information about the Quickfixn mailing list