2024-08-08 15:23:48,259 ERROR || WorkerSourceTask{id=test-cdc-db2-..v2-0} Task threw an uncaught and unrecoverable exception. Task is being killed and will not recover until manually restarted [org.apache.kafka.connect.runtime.WorkerTask] java.lang.RuntimeException: Couldn't obtain database name at io.debezium.connector.db2as400.As400JdbcConnection.retrieveRealDatabaseName(As400JdbcConnection.java:154) at io.debezium.connector.db2as400.As400JdbcConnection.(As400JdbcConnection.java:88) at io.debezium.connector.db2as400.As400ConnectorTask.lambda$start$0(As400ConnectorTask.java:71) at io.debezium.jdbc.DefaultMainConnectionProvidingConnectionFactory.(DefaultMainConnectionProvidingConnectionFactory.java:16) at io.debezium.connector.db2as400.As400ConnectorTask.start(As400ConnectorTask.java:70) at io.debezium.connector.common.BaseSourceTask.start(BaseSourceTask.java:248) at org.apache.kafka.connect.runtime.AbstractWorkerSourceTask.initializeAndStart(AbstractWorkerSourceTask.java:280) at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:202) at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:259) at org.apache.kafka.connect.runtime.AbstractWorkerSourceTask.run(AbstractWorkerSourceTask.java:77) at org.apache.kafka.connect.runtime.isolation.Plugins.lambda$withClassLoader$1(Plugins.java:237) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.sql.SQLNonTransientConnectionException: The application requester cannot establish the connection. (Connection refused) at com.ibm.as400.access.JDError.createSQLExceptionSubClass(JDError.java:884) at com.ibm.as400.access.JDError.throwSQLException(JDError.java:610) at com.ibm.as400.access.JDError.throwSQLException(JDError.java:568) at com.ibm.as400.access.AS400JDBCConnectionImpl.setProperties(AS400JDBCConnectionImpl.java:3529) at com.ibm.as400.access.AS400JDBCConnectionForcedCcsid.setProperties(AS400JDBCConnectionForcedCcsid.java:37) at com.ibm.as400.access.AS400JDBCDriverForcedCcsid.prepareConnection(AS400JDBCDriverForcedCcsid.java:1258) at com.ibm.as400.access.AS400JDBCDriverForcedCcsid.initializeConnection(AS400JDBCDriverForcedCcsid.java:1115) at com.ibm.as400.access.AS400JDBCDriverForcedCcsid.connect(AS400JDBCDriverForcedCcsid.java:334) at io.debezium.jdbc.JdbcConnection.lambda$patternBasedFactory$1(JdbcConnection.java:246) at io.debezium.jdbc.JdbcConnection$ConnectionFactoryDecorator.connect(JdbcConnection.java:132) at io.debezium.jdbc.JdbcConnection.connection(JdbcConnection.java:894) at io.debezium.connector.db2as400.As400JdbcConnection.connection(As400JdbcConnection.java:333) at io.debezium.jdbc.JdbcConnection.queryAndMap(JdbcConnection.java:633) at io.debezium.jdbc.JdbcConnection.queryAndMap(JdbcConnection.java:506) at io.debezium.connector.db2as400.As400JdbcConnection.retrieveRealDatabaseName(As400JdbcConnection.java:150) ... 15 common frames omitted 2024-08-08 15:23:48,260 INFO || Stopping down connector [io.debezium.connector.common.BaseSourceTask]