Profiler UI cannot detect the profiled applications

Questions about YourKit Java Profiler
Post Reply
bfan
Posts: 1
Joined: Thu Dec 18, 2014 2:38 pm

Profiler UI cannot detect the profiled applications

Post by bfan »

Hello,

I ran into a problem where Profiler UI cannot find the profiled applications.

I'm on Mac OS 10.9.5.

I created a very simple Java class, Test.java, which waits for user input. I started the class with profiler agent:

java -agentpath:/Applications/YourKit_Java_Profiler_9.0.9.app/bin/mac/libyjpagent.jnilib Test
[YourKit Java Profiler 9.0.9] Loaded. Log file: /Users/bfan/.yjp/log/780.log
Enter any key to continue...

I checked the log file and everything seems fine:
......
[YourKit Java Profiler 9.0.9] [0.842]: Profiler agent is listening on port 10001
[YourKit Java Profiler 9.0.9] [0.845]: *** HINT ***: To get profiling results, connect to the application from the profiler UI

I did a telnet on port 10001 and the port is open.

Now I launched Profiler UI, the above JVM is not in the application list. Click on "Show all running JVMs", the UI states program "Test" "Started without profiler".

Any help will be appreciated.

Thanks,

Bin
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Profiler UI cannot detect the profiled applications

Post by Anton Katilin »

Version 9 is unsupported. Please use the latest version 2014 instead.
Post Reply