fix for WebSphere that delivers different implementations of UserTransactions depending on the context in which it was invoked, in such a case try to reinitialize transaction manager components

(cherry picked from commit 059baf5d164fc5b5e3c3ef5aaeef635cde1dce08)