fix setStatus for error in J2EContext