【发布时间】:2011-03-02 07:15:08
【问题描述】:
当通过 Spring 配置 Atomikos 时,不需要 jta.properties 或 transactions.properties 文件。尽管如此,Atomikos 还是从打印到 stderr 的以下消息开始:
No properties path set - looking for transactions.properties in classpath...
transactions.properties not found - looking for jta.properties in classpath...
Failed to open transactions properties file - using default values
它看起来好像没有使用 Spring 配置——尽管显然一切都很好。有谁知道如何摆脱这个,所以我最终不会被问 1000 次?
有没有办法从特定组件或 jar 重定向 stderr?
【问题讨论】: