0
votes

apache ignite 1.7 i have loaded data in cache and ready to query from it. when run independently using jdbc driver, it gives a "GridClientConnectionResetException: Failed to perform request" When i run the same along with the "pre-load cache" code, it runs ok.

Not sure what am i doing wrong here.

Class.forName("org.apache.ignite.IgniteJdbcDriver"); Connection conn =DriverManager.getConnection(jdbc:ignite://:/); Statement stmt=conn.createStatement(); ResultSet rs = stmt.executeQuery("Select id,name from ...");

Also, if i use the jdbc:ignite:cfg://, it gives spring context resource is not injected error. Its the same config used to preload data.

1

1 Answers

0
votes

You should check the server node log. Most likely there is an exception that is causing the connection to be closed.