Hi, Probably you gave a specific grid name to Ignite instance in configuration file. Ignition.ignite() returns the default (unnamed) grid instance. In your case it not existed, so the exception was thrown. You may use Ignition.ignite(yourGridName) to get the instance by the name.
2016-04-16 15:12 GMT+03:00 tomk <[email protected]>: > I get following error during try (Transaction tx = > Ignition.ignite().transactions().txStart()) { > > class org.apache.ignite.IgniteIllegalStateException: Ignite instance with > provided name doesn't exist. Did you call Ignition.start(..) to start an > Ignite instance? [name=null] > > I dont know why, I created before Ignite ignite = > Ignition.start(IgniteConfig.IGNITE_CONFIG_PATH); > Before I move settings into xml file it worked. Do you know how to fix it ? > > > > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/ignite-IgniteIllegalStateException-during-creating-transaction-tp4249.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- Best regards, Alexei Scherbakov
