我在本机安装了DB2 9.5.
使用java jdbc连接,一直没有问题。
QC for db2 连接 也一直没有问题。
突然有一天 Java程序连接 报错:
A communication error has been detected. Communication protocol being used: Reply.fill().
Communication API being used: InputStream.read().
Location where the error was detected: insufficient data.
Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS DB2ConnectionCorrelator: null
但是QC连接本地数据库正常,最后发现是因为安装了有道词典 造成的。
参考文档:http://blog.csdn.net/jzy23682891/article/details/7047620