|
Re: tptp for wtp : Execution flow empty [message #141772 is a reply to message #141763] |
Mon, 13 April 2009 10:26   |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_0007_01C9BC22.4CCA3500
Content-Type: text/plain;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Hi Christophe,
Profile on Sever support by default ony supports compress mode data =
collection. As a result, there is no profiling data collected for =
Execution Flow and UML2 graphs.
In order to enable the collection of profiling data for Execution Flow =
and UML2 graphs, the server process will have to be start in Run mode =
(instead of Profiling mode) with additional VM arguments add to the VM =
arguments tab of the launch configuration (alternative, modifying the =
startup script of the target server if start outside Eclipse =
enviornment), The vm argument is:
=
-agentlib:JPIBootLoader=3DJPIAgent:server=3Dcontrolled;CGPro f:executionde=
tails=3Dtrue
Once the server process is started (see it in Task Manager), attach to =
the profiling agent via the Attach-Java Process launch configuration and =
start monitoring the process.
Eugene
"christophe cann" <christophe.cann@gmail.com> wrote in message =
news:0cddc7c5ef02fe39ae3d8d0bc88a2667$1@www.eclipse.org...
> Hi,
>=20
> When I profile a webapp using "profile on server" (eclipse 3.4.2, tptp =
> 4.5, tomcat 5.5, jdk 1.5) Execution statistics are collected but =
Execution=20
> flow and UML2 graph are empty.
>=20
> I read =
http://dev.eclipse.org/newslists/news.eclipse.tptp/msg06695. html=20
> thread, and different tutorials but I don't really understand the =
simplest=20
> scenario to control execution flow with tptp and wtp.
>=20
> Could somebody help me?
>=20
> Thanks
>=20
>
------=_NextPart_000_0007_01C9BC22.4CCA3500
Content-Type: text/html;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-15">
<META content=3D"MSHTML 6.00.2900.5659" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Hi Christophe,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Profile on Sever support by default ony =
supports=20
compress mode data collection. As a result, there is no profiling data =
collected=20
for Execution Flow and UML2 graphs.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>In order to enable the collection of=20
profiling data for Execution Flow and UML2 graphs, the server =
process will=20
have to be start in Run mode (instead of Profiling mode) with additional =
VM=20
arguments add to the VM arguments tab of the launch configuration =
(alternative,=20
modifying the startup script of the target server if start outside =
Eclipse=20
enviornment), The vm argument is:</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2> =20
-agentlib:JPIBootLoader=3DJPIAgent:server=3Dcontrolled;CGPro f:executionde=
tails=3Dtrue</FONT></DIV></DIV>
<DIV><FONT face=3DArial size=3D2>Once the server process is started (see =
it in Task=20
Manager), attach to the profiling agent via the Attach-Java Process =
launch=20
configuration and start monitoring the process.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Eugene</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>"christophe cann" <</FONT><A=20
href=3D"mailto:christophe.cann@gmail.com"><FONT face=3DArial=20
size=3D2>christophe.cann@gmail.com</FONT></A><FONT face=3DArial =
size=3D2>> wrote in=20
message </FONT><A=20
href=3D"news:0cddc7c5ef02fe39ae3d8d0bc88a2667$1@www.eclipse.org"><FONT =
face=3DArial=20
size=3D2>news:0cddc7c5ef02fe39ae3d8d0bc88a2667$1@www.eclipse.org</FONT></=
A><FONT=20
face=3DArial size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>> =
Hi,<BR>>=20
<BR>> When I profile a webapp using "profile on server" (eclipse =
3.4.2, tptp=20
<BR>> 4.5, tomcat 5.5, jdk 1.5) Execution statistics are collected =
but=20
Execution <BR>> flow and UML2 graph are empty.<BR>> <BR>> I =
read=20
</FONT><A=20
href=3D" http://dev.eclipse.org/newslists/news.eclipse.tptp/msg06695. html"=
><FONT=20
face=3DArial=20
size=3D2> http://dev.eclipse.org/newslists/news.eclipse.tptp/msg06695. html=
</FONT></A><FONT=20
face=3DArial size=3D2> <BR>> thread, and different tutorials but I =
don't really=20
understand the simplest <BR>> scenario to control execution flow with =
tptp=20
and wtp.<BR>> <BR>> Could somebody help me?<BR>> <BR>>=20
Thanks<BR>> <BR>></FONT></BODY></HTML>
------=_NextPart_000_0007_01C9BC22.4CCA3500--
|
|
|
Re: tptp for wtp : Execution flow empty [message #141920 is a reply to message #141772] |
Wed, 15 April 2009 17:27  |
Eclipse User |
|
|
|
Hi Eugene,
Now I can monitor a webapp inside Eclipse
I added the vm argument on "Arguments" tab :
-agentlib:JPIBootLoader=JPIAgent:server=controlled;CGProf:ex ecdetails=true
Also, I had to add a PATH variable on "Environment" tab to avoid message
"Could not find agent library on the library path or in the local
directory: JPIBootLoader" . The PATH value is :
C:\Program
Files\eclipse-ganymede-SR2\plugins\org.eclipse.tptp.platform .jvmti.runtime_4.4.201.v200902180100\agent_files\win_ia32\;C :\Program
Files\eclipse-ganymede-SR2\plugins\org.eclipse.tptp.platform .ac.win_ia32_4.4.100.v200902101418\agent_controller\bin\
Thanks a lot
Christophe
|
|
|
Powered by
FUDForum. Page generated in 0.06467 seconds