I want to monitor a remote JVM but it is running with some special rmi options so in order to connect to it using JConsole, I have to start JConsole with the following options "-Djava.rmi.server.ignoreStubClasses=true". With this option JConsole can connect to it to see all the MBeans and all JVM info.
When I try to monitor the same JVM using ManageEngine, it does not work since I assume that this option is not turned on on the ManageEngine agent. How do I put this "-Djava.rmi.server.ignoreStubClasses=true" argument to the process that is connecting to the JVM process so it can connect to it and monitor it?
Thanks.