RPA JVMInspector not seeing other processes

rpa
jvm-inspector

#1

When JVMInspector isn’t detecting any java processes for inspection,in the command window instead of

 ...inspector.controller.JvmInspectorControllerImpl.updateVirtualMachineTree[:73] - Updating JVM Tree...
 ...common.utils.VirtualMachineConnector$VMConnection.connect[:140] - Using jvmAgentPath =     c:\rpa\selenium\dependency\rpa-jvmagent.jar     
...inspector.controller.JvmInspectorControllerImpl.connectToJvmAndUpdateVmTree[:236] - Successfully connected     to: 23652

there are only updating JVM tree attempts

bad
...inspector.controller.JvmInspectorControllerImpl.updateVirtualMachineTree[:73] - Updating JVM Tree...
...inspector.controller.JvmInspectorControllerImpl.updateVirtualMachineTree[:73] - Updating JVM Tree...
...inspector.controller.JvmInspectorControllerImpl.updateVirtualMachineTree[:73] - Updating JVM Tree...

You may start troubleshooting by looking at the c:\rpa\java\bit\jconsole.exe. When you see that JConsole detects external processes, but can’t get any information off them too, and the warning message The management agent is not enabled for this process


It means, that JConsole can’t access PID files created by a java process.

To resolve the issues:

  1. close all java programs
  2. check where %TEMP% and %TMP% environment variables are pointed
  3. clean your TEMP folder, most likely - _c:\Users{username}\AppData\Local\Temp_
  4. run settings-rdp.reg from the RPA setup folder
  5. re-login into your PC
  6. run all the java programs, test with jconsole and then use JVMInspector
  7. check if c:\Users{username}\AppData\Local\Temp\hsperfdata_{username} has files corresponding to java proces IDs.

RPA Autoit driver logic stopped working