yes, it is enabled. Even if that wasn't enabled, I should get class not
found error. Here i dont get any error but its simply doesn't execute. I
see below flag needs to be enabled for thin client. Is there any
setting for thick clients as well ?

https://ignite.apache.org/docs/latest/thin-clients/java-thin-client

<bean class="org.apache.ignite.configuration.IgniteConfiguration"
id="ignite.cfg">
    <property name="clientConnectorConfiguration">
        <bean 
class="org.apache.ignite.configuration.ClientConnectorConfiguration">
            <property name="thinClientConfiguration">
                <bean
class="org.apache.ignite.configuration.ThinClientConfiguration">
                    <property
name="maxActiveComputeTasksPerConnection" value="100" />
                </bean>
            </property>
        </bean>
    </property></bean>


On Wed, Oct 27, 2021 at 6:04 PM Stephen Darlington <
stephen.darling...@gridgain.com> wrote:

> Did you enable peer class loading?
>
> > On 27 Oct 2021, at 13:18, Surinder Mehra <redni...@gmail.com> wrote:
> >
> > Hi,
> > I have a sever node and a thick client node running. I am trying to
> submit ignite compute job from client node to server node but it doesn't
> work.
> >
> > ClusterGroup grp = ignite.cluster().forServers()
> > IgniteCompute ignieCompute = ignite.compute(grp);
> > igniteCompute.run(() ->  System.out.println("Task Executed"));
> >
> > Sysout never printed on console and client keeps running. If I change it
> to server mode, tasks completed immediately.
> >
> > Can someone help me understand if I am missing some configuration?
> >
>
>
>

Reply via email to