log.tracef("registering connection from connection manager: %s, connection : %s, key: %s",
cm, connection, key);
if (key != null)
{
ConnectionRecord cr = new ConnectionRecord(cl, connection, cri);
ConcurrentMap<ConnectionCacheListener, CopyOnWriteArrayList<ConnectionRecord>> cmToConnectionsMap =
key.getCMToConnectionsMap();
CopyOnWriteArrayList<ConnectionRecord> conns = cmToConnectionsMap.get(cm);
if (conns == null)