应用启动时报错:
<Sep 14, 2009 8:42:19 AM GMT+08:00> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "test": [IBM][CLI Driver] SQL30081N A communication error has been detected. Communication protocol being used: "TCP/IP". Communication API being used: "SOCKETS". Location where the error was detected: "192.168.128.44". Communication function detecting the error: "recv". Protocol specific error code(s): "*", "*", "0". SQLSTATE=08001
这个错误,网上一般都是说的DB2环境配置问题:DB2COMM和SVCNAME变量设置不对,但是这个环境下使用的是type2的驱动,本地catalog的数据库是可以连通的,远程java连接数据库也可以成功,最后,只好向客户要了机器的口令和weblogic控制台口令,结果进去一看,狂汗,有3,4个jdbc pool的初始连接数都是150,加起来超过默认的数据库代理数目了,改到25,重启,一切ok!