Hi Val,

I remember you helping me with getOrStart(IgniteConfiguration) to ensure
that Ignite is started only once. Currently I am having an issue

try (Ignite ignite =
Ignition.getOrStart(ClientConfigurationFactory.createConfiguration())) {

when the above code is executed the Ignite node is starting up every time I
execute this code instead of getting the already started instance.

Would you be able to throw some light to the above issue?

Thanks
Saji


On Fri, Nov 18, 2016 at 11:20 AM, Sajin Mathew <mailsa...@gmail.com> wrote:

> Hi  Val,
>
> That was the perfect one for me. It worked with XML using  
> Ignition.loadSpringBean()
> .
>
> Appreciate all your help in this regard. Thank You !
>
> Thanks
> Saji
>
> On Thu, Nov 17, 2016 at 3:27 PM, vkulichenko [via Apache Ignite Users] <
> ml-node+s70518n9057...@n6.nabble.com> wrote:
>
>> Saji,
>>
>> This is weird, I though there are several versions of it. You can use
>> Ignition.loadSpringBean() to work around this. Load the IgniteConfiguration
>> bean from the XML and then pass it getOrStart.
>>
>> -Val
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://apache-ignite-users.70518.x6.nabble.com/Can-java-code
>> -look-up-cache-in-server-without-Ignition-start-cfg-tp9008p9057.html
>> To unsubscribe from Can java code look up cache in server without
>> Ignition.start(cfg), click here
>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=9008&code=bWFpbHNhamluQGdtYWlsLmNvbXw5MDA4fC0xMTc2NjA3OTk5>
>> .
>> NAML
>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
> --
> Thanks and Regards
> Saji
>



-- 
Thanks and Regards
Saji




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Can-java-code-look-up-cache-in-server-without-Ignition-start-cfg-tp9008p13712.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to