Two-dimensional electromagnetic particle-in-cell simulations are carried out to investigate the effect of ion-to-electron mass ratio on the evolution of warm electron beam-plasma instability. Four cases are considered: A: mi/me = 0 (two-electron stream instability); B: mi/me = 1 (pair plasma); C: mi/me = 100; and D: mi/me = 1000. It is shown that the generation of Langmuir waves in the fundamental mode of electron plasma frequency and the subsequent dynamics of large-amplitude solitons are not affected by the ion species. However, it determines the decay process of solitons and the excitation of electromagnetic waves in the second harmonic. In the first two cases, mi/me = 0 and 1, there is no sign of emission in the second harmonic, while the strongest emission in the second harmonic is found for the case of largest mass ratio, mi/me = 1000. This confirms the two-step wave-wave coupling mechanism for the generation of second harmonic electromagnetic waves, which requires the excitation of ion-acoustic waves in the first step. Moreover, the dispersion diagrams of all excited waves are presented.