Hello,
I am trying to profile my webapp which runs inside a tomcat server. I have followed all procedures in configuring my profiler to work. but i always end up with the same issue. Attach is not supported by the JVM.
Here is a log file generated:
17.02-66* 0.003: Log file: C:\Users\localadmin\.yjp\log\Main-9584.log
17.02-66* 0.004: Command line:
C:\Program Files\YourKit Java Profiler 2017.02-b66\bin\\..\jre\bin\java.exe
-cp
C:\Program Files\YourKit Java Profiler 2017.02-b66\bin\\..\lib\yjp.jar
com.yourkit.Main
-attach
17.02-66* 0.004: Executable: C:\Program Files\YourKit Java Profiler 2017.02-b66\jre\bin\java.exe
17.02-66* 0.004: Windows Server 2008 R2; version 6.1.7601; 32-bit process
17.02-66* 0.005: hid: 16022D994943983WX9WX0X4UZ351W894YW411W42ZV 64-bit machine
17.02-66* 0.005: Today is 20171020
17.02-66* 0.005: full_build_stamp: 2017.02.66 201709051525
17.02-66* 0.005: Agent library path: C:\Program Files\YourKit Java Profiler 2017.02-b66\bin\win32\yjpagent.dll
17.02-66* 0.005: getTimeNsInfo: "PerformanceFrequency=14318180"
17.02-66* 0.005: shmem: Global\YOURKIT SHARE G: OK, isFirst=0
17.02-66* 0.005: shmem: Local\YOURKIT SHARE L: OK, isFirst=0
17.02-66* 0.008: shmem: Global\YOURKIT SHARE2 G: OK, isFirst=0
17.02-66* 0.008: shmem: Local\YOURKIT SHARE2 L: OK, isFirst=0
17.02-66* 0.012: shmem: Global\YOURKIT SHARE5 G: OK, isFirst=0
17.02-66* 0.012: shmem: Local\YOURKIT SHARE5 L: OK, isFirst=0