Ireland's hopes of winning a first World Cup have taken a hit after captain Paul O'Connell was ruled out of the tournament.