How to do a "controlled profiling" of a application on a server [message #69700] |
Mon, 08 May 2006 08:27  |
Eclipse User |
|
|
|
Hello,
I am trying to profile an application that is running on my application
server (internal WSAD application server).
When using the option
" -XrunpiAgent:server=standalone,AppServer.trcxml,filters=filt ers.txt,mode=full "
the profiling works, but it is collection data from the start of the
server until I stop the server.
I would prefer saying the profiler when to start and stop profiling,
because I need the exact number of some method calls for example.
Does anybody know, whether (and how) it is possible to configure the
profiling that way?
Thanks in advance,
Ole
PS: When I try to do it the way it is described in the help of the WSAD I
am able to start and stop profiling, but only the EJB calls are profiled -
nothing behind them. Therefor this is useless for me.
|
|
|
|
|
Re: How to do a "controlled profiling" of a application on a server [message #70223 is a reply to message #70000] |
Tue, 09 May 2006 11:19   |
Eclipse User |
|
|
|
Originally posted by: nmehrega.ca.ibm.com
This is a multipart message in MIME format.
--=_alternative 00542C1D85257169_=
Content-Type: text/plain; charset="US-ASCII"
Hi Ole,
It seems like you're following the right steps (You don't really need to
attach to the J2EE Request Profiler). There could be several different
reasons why you're classes are not showing up:
1) At the point when you're monitoring your agent, your classes might not
be called. Make sure you're classes are called when you're doing your
monitoring.
2) Your filters could be incorrect. Make sure you're specifying your
package name properly. As an experiment try to include a specific class
(e.g. mypackag.MyClass * INCLUDE) to see if it's included or not. If
your package is something like com.ibm.mypackage, you can try to include
com.ibm* to see if your classes show up. Play around with this to try and
figure it out.
3) This could be an actual bug in TPTP. From the steps you gave, it seems
like you're using a really old version of TPTP. I would recommend
downlaoding TPTP 4.1 to see whether you still have this problem. You can
download TPTP from here:
http://www.eclipse.org/tptp/home/downloads/downloads.php Scroll down to
the Requirements section and download Eclipse SDK 3.1.2 and EMF and XSD.
Scroll up and download TPTP Runtime (All projects) and the Agent
Controller for your platform (don't download New technology Agent
Controller, since this agent controller wasn't thoroughly tested in TPTP
4.1). Now you probably have the IBM RAC installed, which places some DLLs
in your windows/system32 directory. You'll need to uninstall this RAC
(I'll leave it up to you to decide whether you want to do this or not).
Unfortunately the IBM RAC and TPTP RAC cannot coexist. Once you unzip the
Agent Controller, include its bin directory under your PATH. Now give
this a try again. BTW, TPTP doesn't include the J2EE request profiler.
Navid Mehregnai
--=_alternative 00542C1D85257169_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Hi Ole,</font>
<br>
<br><font size=2 face="sans-serif">It seems like you're following the right
steps (You don't really need to attach to the J2EE Request Profiler). There
could be several different reasons why you're classes are not showing up:</font>
<br>
<br><font size=2 face="sans-serif">1) At the point when you're monitoring
your agent, your classes might not be called. Make sure you're classes
are called when you're doing your monitoring.</font>
<br>
<br><font size=2 face="sans-serif">2) Your filters could be incorrect.
Make sure you're specifying your package name properly. As
an experiment try to include a specific class (e.g. mypackag.MyClass
* INCLUDE) to see if it's included or not. If
your package is something like com.ibm.mypackage, you can try to include
com.ibm* to see if your classes show up. Play around with this to
try and figure it out.</font>
<br>
<br><font size=2 face="sans-serif">3) This could be an actual bug in TPTP.
From the steps you gave, it seems like you're using a really old
version of TPTP. I would recommend downlaoding TPTP 4.1 to see whether
you still have this problem. You can download TPTP from here: http://www.eclipse.org/tptp/home/downloads/downloads.php
Scroll down to the Requirements section and download Eclipse SDK
3.1.2 and EMF and XSD. Scroll up and download TPTP Runtime (All projects)
and the Agent Controller for your platform (don't download New technology
Agent Controller, since this agent controller wasn't thoroughly tested
in TPTP 4.1). Now you probably have the IBM RAC installed, which
places some DLLs in your windows/system32 directory. You'll need
to uninstall this RAC (I'll leave it up to you to decide whether you want
to do this or not). Unfortunately the IBM RAC and TPTP RAC cannot
coexist. Once you unzip the Agent Controller, include its bin directory
under your PATH. Now give this a try again. BTW, TPTP doesn't
include the J2EE request profiler.<br>
<br>
Navid Mehregnai</font>
--=_alternative 00542C1D85257169_=--
|
|
|
|
Re: How to do a "controlled profiling" of a application on a server [message #70539 is a reply to message #70480] |
Thu, 11 May 2006 09:56  |
Eclipse User |
|
|
|
Originally posted by: nmehrega.ca.ibm.com
This is a multipart message in MIME format.
--=_alternative 004C93C88525716B_=
Content-Type: text/plain; charset="US-ASCII"
No problem. I'm glad I could help.
Navid Mehregani
--=_alternative 004C93C88525716B_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">No problem. I'm glad I could help.</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 004C93C88525716B_=--
|
|
|
Powered by
FUDForum. Page generated in 0.03439 seconds