title: visualvm/jvisualvm: not supported for this JVM
body: <p>I wanted to monitor the JVM of wildfly running as service with jvisualvm/visualvm but I fail to do this. I tried the following things:</p>
  
  <ul>
  <li>setting the %TMP% and %TEMP% to C:\Windows\Temp (wildfly console
  tells me this for java.io.tmpdir)</li>
  <li>running a console with sysinternals
  pstools as system account: psexec -i -s cmd.exe and started visualvm
  from within this new console (checked that the temp folders are
  correctly set).</li>
  </ul>
  
  <p>In both cases under local applications the process of wildfly was listed but visualvm only told me "not supported for this jvm".</p>
  
  <p>As soon as I run wildfly from the cli, visualvm has no problems and shows me everything. There is only the jdk from oracle installed (with the corresponding jre).</p>
  
  <p>How can I monitor the process of wildfly running as service (local system account)? Why is it not working with the solutions above?</p>
  
  <p>Thanks a lot (for reading)</p>