Re: “Failed to communicate with Ignite cluster" error when using JDBC Thin driver

2017-12-26 Thread dkarachentsev
Hi, It's hard to say why it happens. I'm not familiar with mybatis and actually don't know if it shares jdbc connection between threads. It would be great if you could provide some reproducible example that will help to debug the issue. Thanks! -Dmitry -- Sent from: http://apache-ignite-users.

Re: “Failed to communicate with Ignite cluster" error when using JDBC Thin driver

2017-12-22 Thread gunman524
We are using mybatis to manage connection, is that matters? BTW, I check the code in JdbcThinTcpIo method sendRequest JdbcResponse sendRequest(JdbcRequest req) throws IOException { int cap = guessCapacity(req); BinaryWriterExImpl writer = new BinaryWriterExImpl(null, new Binary

Re: “Failed to communicate with Ignite cluster" error when using JDBC Thin driver

2017-12-21 Thread dkarachentsev
Is there any case that you're using Connection in more than one thread? It's not thread safe for now. Thanks! -Dmitry -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: “Failed to communicate with Ignite cluster" error when using JDBC Thin driver

2017-12-20 Thread gunman524
It could not be a version issue, the thin driver and cluster version are exactly same. It can happened on any query but can not be reproduce 100%, it only happened "some times". In Log, I found "Caused by: java.io.IOException: Failed to read incoming message (not enough data). " Firstly I gu

Re: “Failed to communicate with Ignite cluster" error when using JDBC Thin driver

2017-12-20 Thread dkarachentsev
Hi, Is it possible that version of thin driver is different from version of cluster nodes? Does it happen on concrete queries or it could be on any one? Thanks! -Dmitry -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

“Failed to communicate with Ignite cluster" error when using JDBC Thin driver

2017-12-20 Thread gunman524
Hi guys, When I use ignite jdbc thin driver connect Ignite cluster, sometimes will meet the errors below. Do you have any idea what cause this error? many thanks! org.springframework.dao.DataAccessResourceFailureException: ### Error updating database. Cause: java.sql.SQLException: Failed to c