码迷,mamicode.com
首页 > 数据库 > 详细

Could not roll back JDBC transaction途径

时间:2015-07-23 19:50:01      阅读:435      评论:0      收藏:0      [点我收藏+]

标签:

      [异常]接口数量:DM02;错误代码:ERR_EAI_02_014; 错误叙述性说明:当将中间库异常Could not roll back JDBC transaction; nested exception isjava.sql.SQLException: 无法从套接字读取很多其它的数据; nested exception is org.springframework.transaction.TransactionSystemException:Could not roll back JDBC transaction; nested exception isjava.sql.SQLException: 无法从套接字读取很多其它的数据: 堆栈信息:com.szp.eai.exception.SZPEAIException: 保存领用工作单到中间库时异常Could not roll back JDBC transaction; nested exception isjava.sql.SQLException: 无法从套接字读取很多其它的数据; nested exception isorg.springframework.transaction.TransactionSystemException: Could not roll backJDBC transaction; nested exception is java.sql.SQLException: 无法从套接字读取很多其它的数据

这个接口异常是连不上数据库,原因是目标数据库是RAC,而此接口的配置仅仅是:

(DESCRIPTION =

   (ADDRESS_LIST =

      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.33.241)(PORT = 1521))    )

   (CONNECT_DATA =

     (SERVICE_NAME = orcl11)

))

应该改成:

(DESCRIPTION =

   (ADDRESS_LIST =

      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.33.241)(PORT = 1521))

     (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.33.239)(PORT = 1521))

     (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.33.240)(PORT = 1521))

    )

   (CONNECT_DATA =

     (SERVICE_NAME = orcl11)

   ))


版权声明:本文博客原创文章,博客,未经同意,不得转载。

Could not roll back JDBC transaction途径

标签:

原文地址:http://www.cnblogs.com/bhlsheji/p/4671376.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!