[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

tomcat profiler

Posted on 2014-08-31
5
Medium Priority
?
444 Views
Last Modified: 2014-09-06
Hi experts,

how to configure profiler for  tomcat in eclipse 4.3.

There are few but are not working with eclipse 4.3 like jvmmonitor,TPTP
0
Comment
Question by:Rocking
  • 3
  • 2
5 Comments
 
LVL 28

Expert Comment

by:dpearson
ID: 40296098
VisualVM should work fine with Tomcat inside Eclipse (http://visualvm.java.net/).

It's a general purpose profiler, not tied to any specific IDE and very powerful.

There also looks to be a launcher project for Eclipse: http://visualvm.java.net/eclipse-launcher.html

Hope that helps,

Doug
0
 

Author Comment

by:Rocking
ID: 40301541
i have copied the extracted files in eclipse features and plugin respectively,but it's not working?
0
 
LVL 28

Expert Comment

by:dpearson
ID: 40301559
When you say "it's not working" do you mean you can't start the VisualVM tool?  Or when it runs, you aren't seeing Tomcat as one of the available Java processes?

I would suggest making sure you can get the tool to run without the plugin first - just launch visualvm directly.

Then once you have that working, you can try the plugin integration.

Doug
0
 

Author Comment

by:Rocking
ID: 40301600
i have installed and configured the plugin in eclipse but as per mentioned in vusualvm site

Create a new application configuration

it is for java application,how to configure it for web application and check time utilization by each java file?
0
 
LVL 28

Accepted Solution

by:
dpearson earned 1500 total points
ID: 40302073
That java application you are looking to profile is Tomcat.  So you need to point visualvm at that process.

Once you do that it will tell you which methods are taking time.

I've never personally used this plugin - that's why I'd suggest using visualvm as a standalone profiler first (see http://visualvm.java.net/ for details on how to run it etc.) and get that working.  Then you can try the plugin.

Doug
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
Suggested Courses
Course of the Month19 days, 14 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question