Forum Stats

  • 3,875,117 Users
  • 2,266,806 Discussions


JMC can't see my Tomcat JVM on Windows

Steve Higgins
Steve Higgins Member Posts: 2
edited Apr 27, 2018 9:04AM in Java Mission Control

Is is possible that jmc can't see a local jvm when it's wrapped as a Windows service?

I've checked everything I can find to get jmc (and jps) to show my local jvm but it simply won't do it.

  • Yes, I have a "hsperfdata_<user>" folder, and it's writable
  • My userid is 10 characters long and includes a dot - ie, "xxx.xxxxxx"
  • Yes, I'm starting from a JDK - jdk1.8.0_162\bin
  • The JDK and OS (Windows Server 2016) are both 64bit
  • The line under "-vm" in jmc.ini is "../jre/bin/"
  • jmc.ini was found in jdk1.8.0_162\bin
  • When started, jmc config resolves -vm to "C:\Program Files\Java\jdk1.8.0_162\bin\\../jre/bin\server\jvm.dll"
  • The jvm I'm trying to profile is a Tomcat instance running locally but wrapped in a Windows service

jmc only ever shows it own jvm.

Any help would be very gratefully received.



Best Answer


This discussion has been closed.