Problems setting up proxies using jvisualvm

I tried jvisualvm.exe in my JDK (1.6.0_15-b03) to reload the plugin directory by doing

Tools> Plugins> Updates> Update Directory

Nonetheless; no matter what proxy configuration I'm trying (I also tried checking it on another JVM 1.6 update 23) and it doesn't seem to work. I get the following errors regardless of proxy settings.

Unable to connect to the VisualVM Java Plugin Center due to sun.security.validator.ValidatorException: Failed to create PKIX path: sun.security.provider.certpath.SunCertPathBuilderException: could not find a valid certification path for the requested target

Here is the error window that appears [see attached image] certificate error

Is this a known issue or a certification issue? I never created a trust store on my machine, could that be the problem?

+6
source share
3 answers

VisualVM has been ported to Github, so the plugin center is now here

but to make it short, what you need to do is open VisualVM
open Tools โ†’ Plugins โ†’ Settings
in the right column (" Java VisualVM Plugin Center ") click Edit
replace everything you have there: https://visualvm.imtqy.com/uc/8u131/updates.xml.gz

+19
source

Here you can download plugins manually: http://visualvm.java.net/pluginscenters.html

+3
source

Another way to achieve this is to download the plugins manually and then install them on JVisualVM.

Here are the steps:

  1. Start by choosing a plugin version from: https://visualvm.imtqy.com/pluginscenters.html
  2. Then download the specific plugin (file extension ".nbm") that you want to install.
  3. Then in JVisualVM go to Tools> Plugin> Downloaded ; then click " Add Plugins " and select a previously downloaded file.
  4. Once it appears on the Downloaded Plugins tab, then click Install .

Hope this helps ...

0
source

Source: https://habr.com/ru/post/1446373/


All Articles