4 Replies Latest reply on Sep 25, 2002 9:10 PM by augustynr

    using of a pooled connection allways creates a new Connectio

    thomas_x

      hi there !
      i tried to use the Conenction pool with the following commands:


      ds = (DataSource)
      initialContext.lookup(aDSName);
      con = ds.getConnection();

      but always whe i make a lookup(aDSName) the JBOSS creates a ne ConnectionPool !

      is there something wrong with the connectionPooling in 2.4.7 ?? or is there an example available howtoUse PooledConnections ?



      i have tried the same in JBOSS 3.0 and after a few times getting a Connection the getConnection fails !