Tomcat does not have a built-in JTA implementation, so Spring will fail if you try to use the JtaTransactionManager .
However, you can use JOTM , which Tomcat can use to provide this functionality.
I must ask, however, why do you want to start JTA? Is the sleep mode transaction manager insufficient? If you need JTA support, you may need to use the full JavaEE application server (JBoss will be the obvious choice, since it includes Tomcat as a servlet engine) and use the proper fully supported JTA implementation there.
skaffman
source share