JMX authentication

neogeo

Member
I am trying to connect with the VisualVM to a remote WCS server but it fails. Is it because there is no authentication by default and it only accepts connections from localhost? How do I make it accept authenticated JMX connections?
 

Max

Administrator
Staff member
We didn't test JMX authentication because port 50999 is usually closed and can be open for white-listed IP only.
You can try following settings in wcs-core.properties according this article.
Code:
-Dcom.sun.management.jmxremote.authenticate=true
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.access.file=/path-to-your-file/jmxremote.access
-Dcom.sun.management.jmxremote.password.file=/path-to-your-file/jmxremote.password
 
Top