I\'m trying to connect jconsole to a jvm invoked by:
java \\
-Djava.util.logging.config.file=./logging.properties \\
-Dcom.sun.management.jmxremote.ssl=false \\
make sure you run your application using below command,
java -Dcom.sun.management.jmxremote.port=9595 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -jar
then open jconsole with admin privilege; you might be able to connect without any issue.
if you want to run multiple jar files, make sure to use different ports; otherwise it will give error saying it's already bind by the JVM