If your application is in firewall,
you might think you could circumvent it by using the following system property:
com.sun.management.jmxremote.port=10000
But you can't.
It's for RMI registry, not for RMI server.
A port for RMI server is randomly chosen unless you customize RMISocketFactory.
In order words, you can't make JMX work across firewall without programming.
For details, see the reference.
Reference:
http://www.javacodegeeks.com/2013/11/two-things-to-remember-when-using-java-rmi.html
No comments:
Post a Comment