The mass and residues of the first radial and orbital excitations of
J=21 baryons containing two heavy quarks (b or c) are calculated
within the QCD sum rules method. In calculations, the general forms of the
interpolating currents with symmetric and anti-symmetric forms with respect to
the exchange of heavy quarks have been used. Our results on the spectroscopic
parameters of doubly heavy baryons are compared with the predictions of other
theoretical approaches