1 Reply Latest reply on Apr 23, 2003 12:10 PM by utente2

    AvailableConnectionCount doesn't change if I close Oracle Po

    utente2 Newbie

      I use JBoss 3.0.6 with Jetty .
      I Have configured an Oracle Pool Connection.
      My problem is that everytime I get a Connection:

      Context initCtx = new InitialContext();
      Context envCtx = (Context) initCtx.lookup("java:comp/env");
      // Look up our data source

      DataSource MyDS = (DataSource) envCtx.lookup("jdbc/MyDS");

      conn = MyDS.getConnection();

      The number of available connection
      AvailableConnectionCount decrease of 1

      but if I close the connection :


      This number doesn't increase.