0 Replies Latest reply on Aug 10, 2005 9:12 PM by Jian Liu


    Jian Liu Newbie

      I wrote an adapter to connect to a server through Sockets. However, the server does not allow Socket connection sharing (i.e. every request sent to the server must be a different Socket connection). So what I did is to always let matchManagedConnections returns null and let the container to create a new Socket for every request. This works out well, but at the same time JBossManagerConnectionPool destroy all connections in the pool. Is there anyway that I can get a new connection and avoid letting JBoss destroying ALL connections in the pool?