I realize this is an old thread, but the problem is very common (see atomikos user community, for example). For my case the Spring context was being refreshed during unit tests, causing Atomikos...