PURPOSE: Phase I trial to study the effectiveness of vaccine therapy in treating patients who have undergone surgery to remove stage I, stage II, or stage IIIA non-small cell lung cancer or stage I or stage II mesothelioma.