Hi,

I have an interesting problem. Sometimes, when starting ignite in my asp.net
mvc project, I am getting the exception below:

"Ignite instance with this name has already been started: myGrid1"

My code is like this:,
 if (null == Ignition.TryGetIgnite("myGrid1"))  _ignite =
Ignition.StartFromApplicationConfiguration("igniteConfiguration");

Ignition.TryGetIgnite("myGrid1")) is always returning null, and
Ignition.StartFromApplicationConfiguration throwing the exception above.

I tried 
Ignition.StopAll(true); before the code above but it doesn't work.

At the web config:
  <igniteConfiguration
xmlns="http://ignite.apache.org/schema/dotnet/IgniteConfigurationSection";
gridName="myGrid1" clientMode="true"
igniteHome="D:\Projects\IgniteIntroduction\IgniteWebTest\bin\">


In short, how do I know if ignite instance has already been started?
Thanks







--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Ignite-instance-with-this-name-has-already-been-started-exception-tp11699.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to