2 Replies Latest reply on Feb 18, 2005 12:49 PM by dario.oliveros

    Problem with managed connections being destroyed

    dario.oliveros

      Hi,

      I am getting a strange behavior when getting connections from a datasource.
      Let´s assume we have a datasource with a minimum pool size of 20 and getConnection(user1, password1) was invoked already. At this point there´s a total of 20 managed connections in the pool. But if I invoke getConnection again on the same datasource, but with different user and password, e.g. getConnection(user2, password2), then all the managed connections previously created are destroyed by the InternalManagedConnectionPool and then a new managed connection for user2 is created.

      Does anyone have any idea how to solve this problem ?

      Thanks in advance,
      Dário Oliveros