JBTM-1702 Make sure to return an exception to the user if xa_end fails
[JBTM-1947] Don't notify CMR recovery module for onePhase resources
use static private EnvironmentBean