I found a way to solve this issue..

thank you so much for your help ...

On Fri, Oct 12, 2018 at 9:24 AM ignite_user2016 <[email protected]>
wrote:

> yes agree it is trivial but my ignite configuration stays in XML files so I
> would have to pull that XML configuration in code..
>
> I am still wondering why this piece of code stopped working ?
>
> if (cfgPath != null && cfg != null) {
>             throw new IllegalArgumentException("Both 'configurationPath'
> and
> 'configuration' are " +
>                     "provided. Set only one of these properties if you need
> to start a Ignite node inside of " +
>                     "SpringCacheManager. If you already have a node
> running,
> omit both of them and set" +
>                     "'gridName' property.");
>         }
>
>         if (cfgPath != null)
>             ignite = IgniteSpring.start(cfgPath, springCtx);
>         else if (cfg != null)
>             ignite = IgniteSpring.start(cfg, springCtx);
>         else
>             ignite = Ignition.ignite(gridName);
>
> so it mean with newer version there is no way Ignition can connect to
> ignite
> with grid name ..
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>


-- 
Rishi Yagnik

Reply via email to