问题描述
当我开始跳船时,日志中将显示以下行:
When I start jetty, following line appears in Log:
:INFO:oejpw.PlusConfiguration:No Transaction manager found
- if your webapp requires one, please configure one.
- 这是什么意思?
- 我怎么知道我的Web应用程序需要交易管理器?
- 哪些功能可为此类交易管理器提供服务?如果我没有该功能,我会缺少什么?
推荐答案
通常,如果您需要一个,就知道您需要一个.
Typically if you need one, you know you need one.
此处所指的是事务管理器,例如Atomikos或JOTM.用于利用JTA api进行分布式事务:
Transaction managers like Atomikos or JOTM are what are being referred to here. Used for distributed transactions leveraging the JTA api:
因此,在jetty的情况下,这是一条提示性消息,当使用jetty-plus配置时,启动时没有通过jndi绑定此类api. jetty-plus本身是一个模块,用于集成到严格的servlet-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.
这篇关于启动日志“未找到交易管理器";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!