java.sql.SQLException: Couldn't get connection because we are at maximum connection count (10/10) and there are none available

quickfixj.org | 3 months ago
  1. 0

    Hi, I am trying to use JDBC log Factory. In Acceptor configuration file, i am using 5 FIX versions(4.0 to 4.4) . I used JDBC store factory. it is working properly, But while logging in Jdbc it gives me error, maximum connection count has reached, there r none connection available.... If I tries to log with Single FIX version in Acceptor coniguration, it works fine. is there any limitation on the number of connections? Following is expection trace for your reference... JdbcLog cannot log SQLException due to recursive log errors! java.sql.SQLException: Couldn't get connection because we are at maximum connection count (10/10) and there are none available at org.logicalcobwebs.proxool.Prototyper.quickRefuse(Prototyper.java:309) at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:158) at org.logicalcobwebs.proxool.ProxoolDataSource.getConnection(ProxoolDataSource.java:97) at quickfix.JdbcLog.insert(JdbcLog.java:147) at quickfix.JdbcLog.onEvent(JdbcLog.java:119) at quickfix.CompositeLog.onEvent(CompositeLog.java:79) at quickfix.Session.<init>(Session.java:348) at quickfix.DefaultSessionFactory.create(DefaultSessionFactory.java:159) at quickfix.mina.acceptor.AbstractSocketAcceptor.createSessions(AbstractSocketAcceptor.java:254) at quickfix.mina.acceptor.AbstractSocketAcceptor.<init>(AbstractSocketAcceptor.java:83) at quickfix.mina.acceptor.AbstractSocketAcceptor.<init>(AbstractSocketAcceptor.java:100) at quickfix.ThreadedSocketAcceptor.<init>(ThreadedSocketAcceptor.java:32) Please reply as soon as possible. Thanks and Regards, Kanupriya.

    QuickFIX/J JIRA | 9 years ago | Kanupriya Dhingra
    java.sql.SQLException: Couldn't get connection because we are at maximum connection count (10/10) and there are none available
  2. 0

    Hi, I am trying to use JDBC log Factory. In Acceptor configuration file, i am using 5 FIX versions(4.0 to 4.4) . I used JDBC store factory. it is working properly, But while logging in Jdbc it gives me error, maximum connection count has reached, there r none connection available.... If I tries to log with Single FIX version in Acceptor coniguration, it works fine. is there any limitation on the number of connections? Following is expection trace for your reference... JdbcLog cannot log SQLException due to recursive log errors! java.sql.SQLException: Couldn't get connection because we are at maximum connection count (10/10) and there are none available at org.logicalcobwebs.proxool.Prototyper.quickRefuse(Prototyper.java:309) at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:158) at org.logicalcobwebs.proxool.ProxoolDataSource.getConnection(ProxoolDataSource.java:97) at quickfix.JdbcLog.insert(JdbcLog.java:147) at quickfix.JdbcLog.onEvent(JdbcLog.java:119) at quickfix.CompositeLog.onEvent(CompositeLog.java:79) at quickfix.Session.<init>(Session.java:348) at quickfix.DefaultSessionFactory.create(DefaultSessionFactory.java:159) at quickfix.mina.acceptor.AbstractSocketAcceptor.createSessions(AbstractSocketAcceptor.java:254) at quickfix.mina.acceptor.AbstractSocketAcceptor.<init>(AbstractSocketAcceptor.java:83) at quickfix.mina.acceptor.AbstractSocketAcceptor.<init>(AbstractSocketAcceptor.java:100) at quickfix.ThreadedSocketAcceptor.<init>(ThreadedSocketAcceptor.java:32) Please reply as soon as possible. Thanks and Regards, Kanupriya.

    QuickFIX/J JIRA | 9 years ago | Kanupriya Dhingra
    java.sql.SQLException: Couldn't get connection because we are at maximum connection count (10/10) and there are none available
  3. 0

    QuickFIX/J Jira

    quickfixj.org | 3 months ago
    java.sql.SQLException: Couldn't get connection because we are at maximum connection count (10/10) and there are none available
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    QuickFIX/J Jira

    quickfixj.org | 3 months ago
    java.io.IOException: Couldn't get connection because we are at maximum connection count (10/10) and there are none available

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      Couldn't get connection because we are at maximum connection count (10/10) and there are none available

      at org.logicalcobwebs.proxool.Prototyper.quickRefuse()
    2. org.logicalcobwebs.proxool
      ProxoolDataSource.getConnection
      1. org.logicalcobwebs.proxool.Prototyper.quickRefuse(Prototyper.java:309)
      2. org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:158)
      3. org.logicalcobwebs.proxool.ProxoolDataSource.getConnection(ProxoolDataSource.java:97)
      3 frames
    3. Apache ServiceMix :: Bundles :: ${pkgArtifactId}
      ThreadedSocketAcceptor.<init>
      1. quickfix.JdbcLog.insert(JdbcLog.java:147)
      2. quickfix.JdbcLog.onEvent(JdbcLog.java:119)
      3. quickfix.CompositeLog.onEvent(CompositeLog.java:79)
      4. quickfix.Session.<init>(Session.java:348)
      5. quickfix.DefaultSessionFactory.create(DefaultSessionFactory.java:159)
      6. quickfix.mina.acceptor.AbstractSocketAcceptor.createSessions(AbstractSocketAcceptor.java:254)
      7. quickfix.mina.acceptor.AbstractSocketAcceptor.<init>(AbstractSocketAcceptor.java:83)
      8. quickfix.mina.acceptor.AbstractSocketAcceptor.<init>(AbstractSocketAcceptor.java:100)
      9. quickfix.ThreadedSocketAcceptor.<init>(ThreadedSocketAcceptor.java:32)
      9 frames