java - visualvm/jvisualvm: not supported for this JVM -


i wanted monitor jvm of wildfly running service jvisualvm/visualvm fail this. tried following things:

  • setting %tmp% , %temp% c:\windows\temp (wildfly console tells me java.io.tmpdir)
  • running console sysinternals pstools system account: psexec -i -s cmd.exe , started visualvm within new console (checked temp folders correctly set).

in both cases under local applications process of wildfly listed visualvm told me "not supported jvm".

as run wildfly cli, visualvm has no problems , shows me everything. there jdk oracle installed (with corresponding jre).

how can monitor process of wildfly running service (local system account)? why not working solutions above?

thanks lot (for reading)

thank salah

with hint (local jmx connection) i've managed make work using following command visualvm (no change of tmp/temp variables in cmd):

visualvm.exe -cp:a "<path-to-wildfly>\bin\client\jboss-client.jar" 

and adding path jmx console (don't forget set username/pw admin gui)

service:jmx:http-remoting-jmx://localhost:9990 

Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -