It should start in client mode. Make sure that the right configuration file
is used.

Best Regards,
Igor


On Thu, Jan 17, 2019 at 12:40 PM summasumma <bytestre...@gmail.com> wrote:

> Thanks Igor.
>
> I am trying to do an example putandget operation using the Ignite-c++
> client
> code from the following link:
> https://github.com/apache/ignite/tree/master/modules/platforms/cpp/examples
>
> ==================
> Source code:
>
> https://github.com/apache/ignite/blob/master/modules/platforms/cpp/examples/put-get-example/src/put_get_example.cpp
>
> Snippet below:
> {
>    IgniteConfiguration cfg;
>    cfg.springCfgPath =
> "platforms/cpp/examples/put-get-example/config/example-cache.xml";
>     try
>     {
>         // Start a node.
>         Ignite grid = Ignition::Start(cfg);
>      ....
> }
> ===================
> But when i run the above example, the code is always starting Ignite in
> server-mode eventhough the 'example-cache.xml' contains the following
> settings:
>
>         <property name="clientMode" value="true"/>
>
> How can i start a Ignite c++ node and perform putget operation here?
>
> Please clarify.
>
> Thanks,
> ...summa
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to