--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/bab6ea33-d004-4ac0-918b-bdec421ed97d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To access a remote secured Payara Server over JMX, you have to use the SSL connection (which is the default).For a SSL connection to work, you need to use the same SSL certificate as used in Payara Server. This certificate is not available in standard JDK, so you'll need to add the file keystore.jks in the domain directory to JVisualVM:1. copy the file keystore.jks from the remote server to e.g. /payara/keystore.jks2. run JVisualVM from command line using additional arguments to specify the truststore and a password to itJVisualVM is built using Netbeans toolkit, so it's possible to pass system properties via -J-D argument.The command line looks like this with the default password "changeit":jvisualvm -J-Djavax.net.ssl.trustStore=/payara/keystore.jks -J-Djavax.net.ssl.trustStorePassword=changeitThat should do it - it works for me locally.Regards,Ondro
2017-10-07 0:18 GMT+02:00 Phillip Ross <phillip....@gmail.com>:
I can never remember the proper way to do this... but I'd like to connect JVisualVM to a remote payara server that is configured in secure admin mode.The instance is in secure admin mode, and I can log into the admin GUI on port 4848 with a username (admin) and a password, but JVisualVM claims that it can't connect.I'm using the following service name format with the 0.0.0.0 replaced with the IP address:service:jmx:rmi://0.0.0.0:8686/jndi/rmi://0.0.0.0:8686/jmxrmi
--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum...@googlegroups.com.