Re: ignite.IgniteIllegalStateException during creating transaction.

classic Classic list List threaded Threaded
1 message Options
Alexei Scherbakov Alexei Scherbakov
Reply | Threaded
Open this post in threaded view

Re: ignite.IgniteIllegalStateException during creating transaction.


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 <[hidden email]>:
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 =
Before I move settings into xml file it worked. Do you know how to fix it ?

View this message in context:
Sent from the Apache Ignite Users mailing list archive at


Best regards,
Alexei Scherbakov