quickfix.ConfigError: No acceptor sessions found in settings.

QuickFIX/J JIRA | Markus Khouri | 1 decade ago
  1. 0

    The sample code on http://www.quickfixj.org/quickfixj/usermanual/usage/application.html does not include the configuration file. Using the configuration file found on http://www.quickfixj.org/quickfixj/usermanual/usage/configuration.html returns the following errors when executing the sample code: Exception in thread "main" quickfix.ConfigError: No acceptor sessions found in settings. at quickfix.mina.acceptor.AbstractSocketAcceptor.createSessions(AbstractSocketAcceptor.java:135) at quickfix.mina.acceptor.AbstractSocketAcceptor.<init>(AbstractSocketAcceptor.java:62) at quickfix.mina.acceptor.AbstractSocketAcceptor.<init>(AbstractSocketAcceptor.java:78) at quickfix.SocketAcceptor.<init>(SocketAcceptor.java:36) at xxx.Brook.mainAcceptor(Brook.java:228) at xxx.Brook.main(Brook.java:169) {{{ public static void main(String args[]) throws Exception { if(args.length != 1) return; String fileName = args[0]; Application application = new Application(); Settings settings = new Settings(new FileInputStream(fileName)); MessageStoreFactory storeFactory = new FileStoreFactory(settings); LogFactory logFactory = new FileLogFactory(settings); MessageFactory messageFactory = new DefaultMessageFactory(); // ERROR occurs on following line Acceptor acceptor = new SocketAcceptor (application, storeFactory, settings, logFactory, messageFactory); acceptor.start(); // while( condition == true ) { do something; } acceptor.stop(); } }}}

    QuickFIX/J JIRA | 1 decade ago | Markus Khouri
    quickfix.ConfigError: No acceptor sessions found in settings.
  2. 0

    The sample code on http://www.quickfixj.org/quickfixj/usermanual/usage/application.html does not include the configuration file. Using the configuration file found on http://www.quickfixj.org/quickfixj/usermanual/usage/configuration.html returns the following errors when executing the sample code: Exception in thread "main" quickfix.ConfigError: No acceptor sessions found in settings. at quickfix.mina.acceptor.AbstractSocketAcceptor.createSessions(AbstractSocketAcceptor.java:135) at quickfix.mina.acceptor.AbstractSocketAcceptor.<init>(AbstractSocketAcceptor.java:62) at quickfix.mina.acceptor.AbstractSocketAcceptor.<init>(AbstractSocketAcceptor.java:78) at quickfix.SocketAcceptor.<init>(SocketAcceptor.java:36) at xxx.Brook.mainAcceptor(Brook.java:228) at xxx.Brook.main(Brook.java:169) {{{ public static void main(String args[]) throws Exception { if(args.length != 1) return; String fileName = args[0]; Application application = new Application(); Settings settings = new Settings(new FileInputStream(fileName)); MessageStoreFactory storeFactory = new FileStoreFactory(settings); LogFactory logFactory = new FileLogFactory(settings); MessageFactory messageFactory = new DefaultMessageFactory(); // ERROR occurs on following line Acceptor acceptor = new SocketAcceptor (application, storeFactory, settings, logFactory, messageFactory); acceptor.start(); // while( condition == true ) { do something; } acceptor.stop(); } }}}

    QuickFIX/J JIRA | 1 decade ago | Markus Khouri
    quickfix.ConfigError: No acceptor sessions found in settings.
  3. 0

    QuickFIX/J Jira

    quickfixj.org | 3 months ago
    quickfix.ConfigError: No acceptor sessions found in settings.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Which SqlDriver should be used to log FIX sessions, messages in SQL server database?

    Stack Overflow | 2 years ago
    quickfix.ConfigError: error during session initialization

    Root Cause Analysis

    1. quickfix.ConfigError

      No acceptor sessions found in settings.

      at quickfix.mina.acceptor.AbstractSocketAcceptor.createSessions()
    2. Apache ServiceMix :: Bundles :: ${pkgArtifactId}
      SocketAcceptor.<init>
      1. quickfix.mina.acceptor.AbstractSocketAcceptor.createSessions(AbstractSocketAcceptor.java:135)
      2. quickfix.mina.acceptor.AbstractSocketAcceptor.<init>(AbstractSocketAcceptor.java:62)
      3. quickfix.mina.acceptor.AbstractSocketAcceptor.<init>(AbstractSocketAcceptor.java:78)
      4. quickfix.SocketAcceptor.<init>(SocketAcceptor.java:36)
      4 frames
    3. xxx
      Brook.main
      1. xxx.Brook.mainAcceptor(Brook.java:228)
      2. xxx.Brook.main(Brook.java:169)
      2 frames