[Quickfix-developers] Archive of Developer Support
Brought to you by:
orenmnero
From: Min T. <mi...@op...> - 2003-03-01 15:44:22
|
I tried to read all archive mails to avoid asking duplicated questions, but seems the link doesn't work. http://www.geocrawler.com/redir-sf.php3?list=quickfix-developers I can use FileStoreFactory but failed to use MySQLStoreFactory. The code is the same: Application application = new ExecApplication(); Settings settings = new Settings(new FileInputStream(args[0])); MessageStoreFactory messageStoreFactory = //new FileStoreFactory(settings); new MySQLStoreFactory(settings); LogFactory logFactory = new ScreenLogFactory(true, true, true); MessageFactory messageFactory = new DefaultMessageFactory(); acceptor = new SocketAcceptor (application, messageStoreFactory, settings, logFactory, messageFactory); acceptor.start(); The error message is (I have updated all quickfix files and re-built the jni dll file): Exception in thread "main" java.lang.UnsatisfiedLinkError: create at org.quickfix.MySQLStoreFactory.create(Native Method) at org.quickfix.MySQLStoreFactory.<init>(MySQLStoreFactory.java:59) at com.ftms.fix.executor.Executor.main(Executor.java:23) Config file: [DEFAULT] SocketAcceptPort=2088 ConnectionType=acceptor SenderCompID=ML [SESSION] BeginString=FIX.4.2 TargetCompID=TA StartTime=00:00:01 EndTime=23:59:59 ReconnectInterval=30 ValidateFieldsOutOfOrder=N DataDictionary=c:\itms\property\FIX42.xml ##FileStorePath=c:\itms\log MySQLStoreDatabase=quickfix MySQLStoreUser=system MySQLStorePassword=ray MySQLStoreHost=tradviser-3 MySQLStorePort=3306 |