public static List getAllActiveConnections() {
List activeConnections = new ArrayList();
for(int i = 0; i < urls.size(); i++) {
SPSConnection conn = (SPSConnection) connections.get(i);
if(urls.get(i) != null && conn.isActive()) {
activeConnections.add(conn);
}
}
return activeConnections;