HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- [Java] HPjmeter -> profile a servlet in Tomcat
Operating System - HP-UX
1830937
Members
1915
Online
110017
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 08:03 AM
07-23-2003 08:03 AM
[Java] HPjmeter -> profile a servlet in Tomcat
Hi,
Not sure if this is the correct forum but I hope this is where the Java experts hang out.
I'm attempting to profile a servlet in Tomcat 4.1.24 using HPjmeter. I'm brand new to HPjmeter, but I read whatever docs I could find and got it installed and running fairly quickly. I added the following options to the JVM in the tomcat startup script to enable profiling:
-Xeprof:inlining=disable,file=/tmp/myprofile.prof
I then start tomcat, and exercise my servlet a little. When I stop Tomcat, I get the message
eprof: terminating profiling
eprof: writing profile data to /tmp/myprofile.prof
eprof: done.
Sure enough, the profiling file gets created, and I can open and examine it inside HPjmeter
However, my problem lies in the fact that I can't seem to find any profiling information for my servlet in there. From my limited knowledge, it looks to me that has profiled all the Tomcat and Sun classes but there is no mention of my classes at all.
Am I missing something really obvious ? Is it possible to profile a servlet like this?
If yes, how do I do it?
Thanks in advance,
Morgan
FYI: my environment is as follows: HP-UX 11, JDK 1.4.1_01, Tomcat 4.1.24, HPjmeter 1.6
Not sure if this is the correct forum but I hope this is where the Java experts hang out.
I'm attempting to profile a servlet in Tomcat 4.1.24 using HPjmeter. I'm brand new to HPjmeter, but I read whatever docs I could find and got it installed and running fairly quickly. I added the following options to the JVM in the tomcat startup script to enable profiling:
-Xeprof:inlining=disable,file=/tmp/myprofile.prof
I then start tomcat, and exercise my servlet a little. When I stop Tomcat, I get the message
eprof: terminating profiling
eprof: writing profile data to /tmp/myprofile.prof
eprof: done.
Sure enough, the profiling file gets created, and I can open and examine it inside HPjmeter
However, my problem lies in the fact that I can't seem to find any profiling information for my servlet in there. From my limited knowledge, it looks to me that has profiled all the Tomcat and Sun classes but there is no mention of my classes at all.
Am I missing something really obvious ? Is it possible to profile a servlet like this?
If yes, how do I do it?
Thanks in advance,
Morgan
FYI: my environment is as follows: HP-UX 11, JDK 1.4.1_01, Tomcat 4.1.24, HPjmeter 1.6
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP