You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2020/04/10 03:10:12 UTC

[GitHub] [rocketmq-externals] imaffe opened a new issue #554: [rocketmq-connect-jdbc: if db config wrong, sink task will repeatedly tries connect to database]

imaffe opened a new issue #554: [rocketmq-connect-jdbc: if db config wrong, sink task will repeatedly tries connect to database]
URL: https://github.com/apache/rocketmq-externals/issues/554
 
 
   The issue tracker is **ONLY** used for bug report and feature request. 
   
   Any question or RocketMQ proposal please use our [mailing lists](http://rocketmq.apache.org/about/contact/).
   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do (The steps to reproduce)?
   Use a wrong JdbcSinkConnector database configuration, and stop the connector
   - What did you expect to see?
   Hope it stops prints error message after connector stops:
   - What did you see instead?
   It keeps on printing
   ```
   2020-04-10 08:19:33 ERROR Druid-ConnectionPool-Create-1988777075 - create connection SQLException, url: jdbc:mysql://127.0.0.1:3307?useSSL=true&verifyServerCertificate=false&serverTimezone=GMT%2B8&characterEncoding=utf8, errorCode 0, state 08S01
   com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
   
   The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
           at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:172) ~[rocketmq-connect-jdbc-0.0.1-SNAPSHOT.jar:na]
           at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[rocketmq-connect-jdbc-0.0.1-SNAPSHOT.jar:na]
           at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:862) ~[rocketmq-connect-jdbc-0.0.1-SNAPSHOT.jar:na]
           at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:444) ~[rocketmq-connect-jdbc-0.0.1-SNAPSHOT.jar:na]
           at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:230) ~[rocketmq-connect-jdbc-0.0.1-SNAPSHOT.jar:na]
           at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:226) ~[rocketmq-connect-jdbc-0.0.1-SNAPSHOT.jar:na]
           at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1644) ~[rocketmq-connect-jdbc-0.0.1-SNAPSHOT.jar:na]
           at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1710) ~[rocketmq-connect-jdbc-0.0.1-SNAPSHOT.jar:na]
           at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2779) ~[rocketmq-connect-jdbc-0.0.1-SNAPSHOT.jar:na]
   Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
   ```
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services