We have deployed a java application which will be run by a job scheduler.
This application might be run on many different server machines of intranet. Now we had a problem that there might be more than one instance of this application running simultaneously on multiple machine of product env, and that's a nightmare and we must to avoid that.
So I would like to know what's the proper way to ensure only one single application instance can be run per network.