Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Profiler UI cannot detect the profiled applications

Moderators: Vladimir Kondratyev, Anton Katilin

Profiler UI cannot detect the profiled applications

Postby bfan » Thu Dec 18, 2014 3:57 pm

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
bfan
 
Posts: 1
Joined: Thu Dec 18, 2014 2:38 pm

Re: Profiler UI cannot detect the profiled applications

Postby Anton Katilin » Thu Dec 18, 2014 6:48 pm

Version 9 is unsupported. Please use the latest version 2014 instead.
Anton Katilin
 
Posts: 5648
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 2 guests