Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Startup-Log "No Transaction manager found"

When I start jetty, following line appears in Log:

:INFO:oejpw.PlusConfiguration:No Transaction manager found
- if your webapp requires one, please configure one.
  • What does it means?
  • How do I know that my webapp requires a transaction manager?
  • Which features serves such transaction manager or what am I missing if I do not have one?
like image 684
oleh Avatar asked Jul 05 '12 07:07

oleh


2 Answers

Typically if you need one, you know you need one.

Transaction managers like Atomikos or JOTM are what are being referred to here. Used for distributed transactions leveraging the JTA api:

  • http://en.wikipedia.org/wiki/Java_Transaction_API

So in jetty's case it is an informational message that no such api has been bound via jndi on startup when using the jetty-plus configuration. jetty-plus in of itself is a module for integrating to resources that are outside of the strict servlet-api sense but are still often useful for people.

like image 181
jesse mcconnell Avatar answered Oct 19 '22 12:10

jesse mcconnell


I also have this warn message and have config transaction manager in spring config-file.

But everything is normal,so,i think you can ignore this message.

like image 38
Vito Avatar answered Oct 19 '22 13:10

Vito