Plasma production for electron acceleration by resonant plasma wave