Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » tptp for wtp : Execution flow empty
tptp for wtp : Execution flow empty [message #141763] Fri, 10 April 2009 16:47 Go to next message
christophe cann is currently offline christophe cann
Messages: 2
Registered: July 2009
Junior Member
Hi,

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
flow and UML2 graph are empty.

I read http://dev.eclipse.org/newslists/news.eclipse.tptp/msg06695. html
thread, and different tutorials but I don't really understand the simplest
scenario to control execution flow with tptp and wtp.

Could somebody help me?

Thanks
Re: tptp for wtp : Execution flow empty [message #141772 is a reply to message #141763] Mon, 13 April 2009 10:26 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene Chan
Messages: 287
Registered: July 2009
Senior Member
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>&nbsp;</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&nbsp;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>&nbsp;&nbsp;&nbsp;=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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Eugene</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>"christophe cann" &lt;</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>&gt; 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>&gt; =
Hi,<BR>&gt;=20
<BR>&gt; When I profile a webapp using "profile on server" (eclipse =
3.4.2, tptp=20
<BR>&gt; 4.5, tomcat 5.5, jdk 1.5) Execution statistics are collected =
but=20
Execution <BR>&gt; flow and UML2 graph are empty.<BR>&gt; <BR>&gt; 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>&gt; thread, and different tutorials but I =
don't really=20
understand the simplest <BR>&gt; scenario to control execution flow with =
tptp=20
and wtp.<BR>&gt; <BR>&gt; Could somebody help me?<BR>&gt; <BR>&gt;=20
Thanks<BR>&gt; <BR>&gt;</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 Go to previous message
christophe cann is currently offline christophe cann
Messages: 2
Registered: July 2009
Junior Member
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
Previous Topic:Is there a diff in data between 1.5 and 1.6?
Next Topic:UML2 & TPTP & AC
Goto Forum:
  


Current Time: Mon Jul 28 20:35:26 EDT 2014

Powered by FUDForum. Page generated in 0.02337 seconds