4 Replies Latest reply on Nov 6, 2003 8:04 AM by Adrian Brock

    Managed Connection Pool

    Yunsheng (Rick) Ho Newbie

      I created a RA, and deployed to JBoss 3.2.2. The jndi lookup is fine. But I am confused by the connection pooling.

      When I passed a ConnectionRequestInfo to get a connection, the connection manager tried to match the connections in a matched set which contained connections with different ConnectionRequestInfo. And unmatched connections would be detroyed later.

      How could this happen?

      If multiple clients tried to get a connection with the same ConnectionRequestInfo, all the connection handles would lock on one ManagedConnection, instead of getting a newly created connection for each request. Is it the way it supposed to be. It seems to me that set size is always 1.

      Any idea?
      Thank you