[Quickfix-developers] Configuration failed: Unable to connect to database w/1.9.4?
Brought to you by:
orenmnero
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 |