how to start profiler on Solaris

Questions about YourKit Java Profiler
Post Reply
masteve00
Posts: 4
Joined: Tue Apr 26, 2005 11:38 pm

how to start profiler on Solaris

Post by masteve00 »

When I tried to start the profiler from the GUI, it stated "No Application Being Profiled Found". I was able to go to Tools > Integrate with J2EE Server and create a new yjp startup script. I then successfully started the server with the new script. What am I doing wrong?

Thanks.
Vladimir Kondratyev
Posts: 1625
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

If profiler is properly integrated with your J2EE server, you should see a message from profiler agent with port number which agent listens. Please try to connect to you J2EE server as to remote application at localhost:port_number.

One of the reasons why agent cannot be found by profiler UI is that J2EE server runs under different user.
masteve00
Posts: 4
Joined: Tue Apr 26, 2005 11:38 pm

Post by masteve00 »

Problem solved! Somehow when creating a new startup script, it didn't add the profiler agent info to the JAVA_OPTIONS. I had to add it manually.
Vladimir Kondratyev
Posts: 1625
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

Please send us (at [email protected]) your initial and modified startup scripts. It will help a lot to find a problem.

Thank you in advance,
Vladimir
Post Reply