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:
- setting the %TMP% and %TEMP% to C:\Windows\Temp (wildfly console tells me this for java.io.tmpdir)
- 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).
In both cases under local applications the process of wildfly was listed but visualvm only told me "not supported for this jvm".
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).
How can I monitor the process of wildfly running as service (local system account)? Why is it not working with the solutions above?
Thanks a lot (for reading)