Could not roll back JDBC transaction处理方法

      [异常]接口编号: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)

   ))


展开阅读全文

没有更多推荐了,返回首页