On resonances and transverse and longitudinal oscillations in a hoisting system due to boundary excitations