public static synchronized void addConnectionBackToPool(Connection c)   
    {   
        if(c != null)   
        {   
            usedConnections.removeElement(c);   
            availableConnections.addElement(c);           
        }   
    }