我正在使用JNDI方法将几个MySQL数据库服务器与我的Pentaho PDI(CE 5.0.1)连接起来并且到目前为止工作正常,请将其删除 . 其中一个MySQL服务器出现故障,所以我更改了我的JNDI连接(... \ data-integration \ simple-jndi \ jdbc.properties)以连接到新服务器,但是Kettle没有认识到这个变化并且抛出错误如下:
Error connecting to database [db-name] : org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database Invalid JNDI connection kidr_db_5 : Could not create connection to database server. Attempted reconnect 3 times. Giving up. org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database Invalid JNDI connection kidr_db_5 : Could not create connection to database server. Attempted reconnect 3 times. Giving up.
我可以通过Native(JDBC)连接方法直接从Kettle连接到新服务器,但不能仅通过JNDI连接到这个新服务器 . 从JNDI休息DB连接工作正常 . 请指导我这里错了什么?我错过了什么?还是一个bug?