Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Profiling WEB-INF classes
Profiling WEB-INF classes [message #132740] Tue, 15 July 2008 14:24 Go to next message
Mariano Eloy Fernández Osca is currently offline Mariano Eloy Fernández OscaFriend
Messages: 16
Registered: July 2009
Junior Member
Hi,

I installed Eclipse Ganymede for J2EE and TPTP.
I tried to perform a memory analysis on a fresh Dynamic Web Project, with
a single servlet on it.
I launch Tomcat on profile mode, and leave all filters by default.

The problem is I don't see the servlet class anywhere in the memory
analysis statistics, only primitive data types and ocassionally classes
from jars in WEB-INF/lib.

What am I missing?

Thanks!
Re: Profiling WEB-INF classes [message #132754 is a reply to message #132740] Tue, 15 July 2008 14:32 Go to previous messageGo to next message
Mariano Eloy Fernández Osca is currently offline Mariano Eloy Fernández OscaFriend
Messages: 16
Registered: July 2009
Junior Member
Additional comment,

I just (jared?) my Serlvet and dropped it into WEB-INF/lib and it still
does not show up. Again, default filters, excluding only java*, sun* etc.
The package of this sample servlet is es*
Re: Profiling WEB-INF classes [message #132776 is a reply to message #132754] Wed, 16 July 2008 08:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexander.n.alexeev.intel.com

Hi, Mariano

Could you check that your classes are not excluded by applied filters.
You can specify required profiling coverage as precisely as possible,
maybe default filtering excludes your classes too.

Also check that no filters applied in the view, they are configured in
upper-right conner of it.

Alex
Re: Profiling WEB-INF classes [message #132848 is a reply to message #132776] Thu, 17 July 2008 06:48 Go to previous message
Mariano Eloy Fernández Osca is currently offline Mariano Eloy Fernández OscaFriend
Messages: 16
Registered: July 2009
Junior Member
Hello,

I just changed the Default filter not to exclude org* packages and moved
my servlet to org.test package. Now classes in org.apache* package and the
like start showing up on memory statistic view, but not my servlet. I am
sure the servlet is being called, for it writes a message to the page.
It seems only classes loaded by Tomcat container prior to the context
itself ( http://tomcat.apache.org/tomcat-4.1-doc/class-loader-howto.h tml)
are being part of the profiling session. All others are excluded.
Previous Topic:fan-in/fan-out
Next Topic:I could not open static analysis windows
Goto Forum:
  


Current Time: Fri Apr 19 21:32:14 GMT 2024

Powered by FUDForum. Page generated in 0.02485 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top