WebLogic 池驱动程序不支持 XA 驱动程序

发布于 2025-01-08 11:01:34 字数 647 浏览 3 评论 0原文

我正在典型的开发->质量保证->生产环境中工作,而且我们的开发环境的配置与质量保证环境不同,但我不确定在哪里寻找问题,因为我不知道非常熟悉WebLogic的核心配置。

我开发了一个使用 Spring 框架的分布式事务支持的 Web 服务,并且 Weblogic 服务器上的所有 JNDI 连接条目都配置为使用 Oracle XA 驱动程序。虽然在我们的开发环境中一切正常,但我在 QA 中遇到以下错误:

 org.springframework.jdbc.CannotGetJdbcConnectionException: 
      Could not get JDBC Connection;
 nested exception is java.sql.SQLException: Pool connect failed : 
      java.lang.Exception: WebLogic Pool Driver doesn't support XA driver, 
      Please change your config to use a Non-XA driver

据我所知,这是 Weblogic 本身的配置问题,而不是各个 JNDI 数据源的配置问题。

我知道要继续的事情并不多,但如果有人能给我一些想法从哪里开始寻找,我将不胜感激。

I am working in a typical Dev->QA->Production environment, and it appears that our Dev environment is configured differently than our QA environment, but I'm not sure where to look for the problem, as I'm not very familiar with WebLogic's core configuration.

I've developed a web service that uses the Spring framework's distributed transaction support, and all of our JNDI connection entries on the Weblogic server are configured to use the Oracle XA driver. While everything works just fine in our development environment, I am getting the following error on QA:

 org.springframework.jdbc.CannotGetJdbcConnectionException: 
      Could not get JDBC Connection;
 nested exception is java.sql.SQLException: Pool connect failed : 
      java.lang.Exception: WebLogic Pool Driver doesn't support XA driver, 
      Please change your config to use a Non-XA driver

From what I can gather, this is a configuration issue with Weblogic itself, not the individual JNDI data sources.

I know it's not a lot to go on, but if someone could give me some idea where to start looking, I would appreciate the help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

︶ ̄淡然 2025-01-15 11:01:34

结果我们的 WebLogic 管理员并没有像他所说的那样重新启动连接池。很抱歉发布这个问题。现在一切都按预期进行。

Turns out our WebLogic Admin had not restarted the connection pool as he said he did. Sorry for posting the question. Everything is working as expected now.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文