PURPOSE: This randomized clinical trial is studying the side effects of vaccine therapy and to see how well it works when given with or without cyclophosphamide in treating patients undergoing chemotherapy and radiation therapy for stage I or stage II pancreatic cancer that can be removed by surgery.