Hi Kamal, Service instance can be serialized during deployment on other nodes. In general it's better to make services stateless. If state is required, use IgniteCache instead.
But your particular case you can simply make this field static. Since it gets the value from a system property, it will properly initialized in each VM and will not be serialized. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-Services-How-to-preserve-value-of-Local-variables-tp4094p4103.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
