[Quickfix-developers] FileNotFoundException
Brought to you by:
orenmnero
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 |