settings.setString(sessionID, "DataDictionary", "src/quickfix/codegen/FIX43.xml");
settings.setString(sessionID, "DataDictionary", "etc/FIX43.xml");
    public void run() {        try {            SessionSettings settings = new SessionSettings();            settings.setString(SessionSettings.DEFAULT_SESSION_ID, "ConnectionType", "acceptor");            settings.setString(SessionSettings.DEFAULT_SESSION_ID, "SocketAcceptPort", "9877");            settings.setString(SessionSettings.DEFAULT_SESSION_ID, "StartTime", "00:00:00");            settings.setString(SessionSettings.DEFAULT_SESSION_ID, "EndTime", "00:00:00");            settings.setString(SessionSettings.DEFAULT_SESSION_ID, "SenderCompID", "ISLD");            settings.setString(SessionSettings.DEFAULT_SESSION_ID, "TargetCompID", "TW");            settings.setString(SessionSettings.DEFAULT_SESSION_ID, "ResetOnDisconnect", "Y");            settings.setString(SessionSettings.DEFAULT_SESSION_ID, "FileStorePath", "output/data/server");            settings.setString(SessionSettings.DEFAULT_SESSION_ID, "ValidateUserDefinedFields", "Y");            SessionID sessionID;            if (fixVersions.contains("fix40")) {                sessionID = new SessionID("FIX.4.0", "ISLD", "TW");                settings.setString(sessionID, "BeginString", "FIX.4.0");                settings.setString(sessionID, "DataDictionary", "src/quickfix/codegen/FIX40.xml");            }            if (fixVersions.contains("fix41")) {                sessionID = new SessionID("FIX.4.1", "ISLD", "TW");                settings.setString(sessionID, "BeginString", "FIX.4.1");                settings.setString(sessionID, "DataDictionary", "src/quickfix/codegen/FIX41.xml");            }            if (fixVersions.contains("fix42")) {                sessionID = new SessionID("FIX.4.2", "ISLD", "TW");                settings.setString(sessionID, "BeginString", "FIX.4.2");                settings.setString(sessionID, "DataDictionary", "src/quickfix/codegen/FIX42.xml");            }            if (fixVersions.contains("fix43")) {                sessionID = new SessionID("FIX.4.3", "ISLD", "TW");                settings.setString(sessionID, "BeginString", "FIX.4.3");                settings.setString(sessionID, "DataDictionary", "src/quickfix/codegen/FIX43.xml");            }            if (fixVersions.contains("fix44")) {                sessionID = new SessionID("FIX.4.4", "ISLD", "TW");                settings.setString(sessionID, "BeginString", "FIX.4.4");                settings.setString(sessionID, "DataDictionary", "src/quickfix/codegen/FIX44.xml");            }            ATApplication application = new ATApplication();            FileStoreFactory factory = new FileStoreFactory(settings);            //MemoryStoreFactory factory = new MemoryStoreFactory();            AbstractSocketAcceptor acceptor = new SocketAcceptor(application, factory, settings,                    new CommonsLogFactory(settings), new DefaultMessageFactory());            acceptor.start();            acceptor.waitForInitialization();            initializationLatch.countDown();            synchronized (application) {                try {                    application.wait();                } catch (InterruptedException e1) {                    log.info("server exiting");                }            }        } catch (Throwable e) {            log.error("error in AT server", e);        }    }