You need to make sure Ignite is started *before* SpringCacheManager.
Basically, you have two options:

1. Start Ignite manually using Ignition.start, and then start Spring app
with SpringCacheManager that references already started Ignite via
'igniteInstanceName' property.
2. Incorporate IgniteConfiguration into Spring config as a separate bean,
and reference it in SpringCacheManager via 'configuration' property. In this
case SpringCacheManager will take care of starting Ignite, so you don't need
to use Ignition.start().

If Ignite is used ONLY for Spring caching, option 2 might be more
convenient. Otherwise, option 1 makes more sense.

Hope this helps.

-Val



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to