Hello,
is there any significance to grid name in ignite configuration file.
1.
URL resource = CacheManager.class.getResource("/ignite.xml");
Ignition.start(resource);
Ignite ignite = Ignition.ignite("my-grid");
2.
Connection conn =
DriverManager.getConnection("jdbc:ignite:cfg://cache=test-map@file
:C:/Anil/ignite.xml");
grid name is mandatory to access the ignite in #1
Same ignite configuration with client mode is set true (though it is not
set to true.. it is set to true in driver) in #2 is failing.. #2 is working
only with different grid name (generated randon grid name in ignite jdbc
driver when no grid name mentioned in configuration file).
can you please clarify the difference ? thanks.
Thanks.