I have a cluster with 5 instances on Glassfish 4. All are using the same configuration with the same Java options. I want to add a Java option -Dcom.sun.management.jmxremote.port=**** for every instance in cluster, this means they all have to be different. What is the best way to do that?
I can't move all instances to separate configurations,and I did not find any information about setting the parameters in instance system properties or instance properties.
Thank's for help!