JMX port is on by default in all Cloudify GSCs. It should be off, with a configuration setting to turn it on.
1. Notice that each Grid Component opens a JMX port (look for the word RMI) here:
http://wiki.gigaspaces.com/wiki/display/XAP91/How+to+Control+the+Used+Ports
2. It can be disabled. Use "netstat –a | findstr 1009" to verify this.
Edit gsc.bat and use this line:
call "%~dp0\gs.bat" start startGSC noJMX %command_line%
3. I don't know if there is any other programmatic way of doing this. Need to dive into gs.bat and gs.sh to check this
Try com.gs.jmx.enabled=false