今天接到用户的一个问题,业务厂商的应用程序无法连接某台DB2数据库。
和厂商的人沟通了之后,让他把连接报错的信息发过来看看,如下:
错误连接数据库 [EEE] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Error connecting to database: (using class com.ibm.db2.jcc.DB2Driver)
[jcc][t4][2043][11550][3.50.152] 异常 java.net.ConnectException:打开端口 52,000 上服务器 /172.168.23.36 的套接字时出错,消息为:Connection timed out: connect。 ERRORCODE=-4499, SQLSTATE=08001
org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Error connecting to database: (using class com.ibm.db2.jcc.DB2Driver)
[jcc][t4][2043][11550][3.50.152] 异常 java.net.ConnectException:打开端口 52,000 上服务器 /172.168.23.36 的套接字时出错,消息为:Connection timed out: connect。 ERRORCODE=-4499, SQLSTATE=08001
at org.pentaho.di.core.database.Database.normalConnect(Database.java:312)
at org.pentaho.di.core.database.Database.connect(Database.java:261)
at org.pentaho.di.core.database.Database.connect(Database.java:223)
at org.pentaho.di.core.database.Database.connect(Database.java:213)
at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:55)
at org.pentaho.di.core.d