While McCain prepared for the trip , Democrat Barack Obama was under fire on two fronts , over controversial remarks his pastor made about the September 11 attacks and his ties to a businessman facing corruption charges .