Atomikos Forum |
|
The wiki article at http://www.atomikos.com/Documentation/Tomcat6Integration33 shows that AtomikosLifecycleListener instantiates UserTransactionManager, while javadoc of this class recommends to use J2eeTransactionManager in Java EE environment. This looks confusing, not sure which one is correct. Can someone throw some light on this?
Thanks, Vinod
Hi,
The J2eeTransactionManager does not startup the transaction core (needs to be started explicitly). The UserTransactionManager does startup the core (if not already running). However, you can now also disable this by setting the startupTransactionService property to false. It all depends if this auto-startup is what you want or not. That in turn depends on the application and whether or not multiple (web)apps share the same transaction core. Guy
Hi,
Either using this example: http://www.atomikos.com/Documentation/SpringIntegration#The_Advanced_Case_As_of_3_3 or by following the advanced guidelines in the PDF docs in the download folder. Best |