I need to set idleTimeout at server level as the connections are not being closed properly by the client.
I found below link, but I am not sure how to set using XML configuration file.
Is there way to set IdleTimeout in ignite/GridGain XML configuration file?
You can configure ClientConnectorConfiguration like this:
<bean class="org.apache.ignite.configuration.IgniteConfiguration" id="ignite.cfg">
<property name="clientConnectorConfiguration">
<bean class="org.apache.ignite.configuration.ClientConnectorConfiguration">
...
</bean>
</property>
</bean>
For more details see docs