标签:
[异常]接口数量: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