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

Eclipse Jetty 4.0

Moderators: Vladimir Kondratyev, Anton Katilin

Eclipse Jetty 4.0

Postby adriaanjoubert » Thu May 30, 2019 12:40 pm

Hi,

we are running web applications with Eclipse Jetty 4.0 from within eclipse. However there seems to be no way to launch these from the Profiler menu. Is there some way to enable this?

I did manage to launch the applications with the user agent, and could monitor the performance from the external profiler. It would just be more convenient to have this integrated in eclipse.

Thanks,

Adriaan
adriaanjoubert
 
Posts: 3
Joined: Thu May 30, 2019 11:19 am

Re: Eclipse Jetty 4.0

Postby Anton Katilin » Thu May 30, 2019 4:12 pm

Hello Adriaan

Have you installed YourKit Java Profiler plugin? Do you see corresponding "Profile" action near "Run" and "Debug" in the main menu?

With what action do you normally start Jetty from within Eclipse? Is it

What kind of run configuration is it?

What Eclipse bundle do you use?

Best regards,
Anton
Anton Katilin
 
Posts: 5825
Joined: Wed Aug 11, 2004 8:37 am

Re: Eclipse Jetty 4.0

Postby adriaanjoubert » Fri May 31, 2019 6:11 am

Hi Anton,

Yes, i installed the profiler plug-in and I see the profile button. After installing the Jetty 4.0.0 package, the Run and Debug configuration have a category for 'Jetty WebApp' (just after 'Java Application'). This does not appear in the Profiler button, so I cannot launch a jetty web container from there.

So is there any way to profile jetty containers from within Eclipse with YourKit?

Thanks!

Adriaan
adriaanjoubert
 
Posts: 3
Joined: Thu May 30, 2019 11:19 am

Re: Eclipse Jetty 4.0

Postby Vladimir Kondratyev » Fri May 31, 2019 3:30 pm

Dear Adriaan,

which exact Eclipse plug-in are you using for Jetty integration?

This one https://marketplace.eclipse.org/content/eclipse-jetty ?

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Vladimir Kondratyev
 
Posts: 1495
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Re: Eclipse Jetty 4.0

Postby adriaanjoubert » Sun Jun 02, 2019 8:22 am

Sorry, should have been more precise. Yes

https://marketplace.eclipse.org/content/eclipse-jetty

is the one we are using on eclipse 18.12. We are still running on JDK 8, but are in the process of upgrading to JDK 12.

I did manage to run it with the external tool, and yourkit has already helped me identify unexpected issues. However it would be convenient to be able to run straight from eclipse.

The ability to constrain CPU profiling to sub-sections is really useful.

Thanks,

Adriaan
adriaanjoubert
 
Posts: 3
Joined: Thu May 30, 2019 11:19 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 26 guests

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.