Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Profiling a Weblogic App
Profiling a Weblogic App [message #78005] Thu, 20 July 2006 14:54 Go to next message
Eclipse UserFriend
Originally posted by: tdkoff.gmail.com

I have been trying to profile a weblogic app, but haven't had much
success. I've looked for documentation on how to do this, but didn't find
anything concrete.

Does anyone have any documentation on how to setup a weblogic web app for
profiling?

Thanks,
Todd
Re: Profiling a Weblogic App [message #78098 is a reply to message #78005] Thu, 20 July 2006 18:21 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Todd,

There is a viewlet that shows the profile on server feature
http://www.eclipse.org/tptp/home/documents/tutorials/viewlet s/v4.1/WTP/WTP_TPTP_viewlet_viewlet_swf.html

Following the WTP help doc online, you can setup Eclipse to test/profile an
web application. It tells you how you can configure Eclipse to run a web
application, instead of using Run As > Run on Server action, use Profile As
> Profile on Server for profiling
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. wst.server.ui.doc.user/topics/tj2ee.html
If you would like to create a server instance from scratch, follow the doc
here:
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. wst.server.ui.doc.user/topics/twcrtins.html

I have opened feature request 151303 for detail help doc of profile on
server feature.

Regards,
Eugene

"Todd Kofford" <tdkoff@gmail.com> wrote in message
news:3c7728ea9e714deceaa692668afd7535$1@www.eclipse.org...
> I have been trying to profile a weblogic app, but haven't had much
> success. I've looked for documentation on how to do this, but didn't find
> anything concrete.
>
> Does anyone have any documentation on how to setup a weblogic web app for
> profiling?
>
> Thanks,
> Todd
>
Re: Profiling a Weblogic App [message #78127 is a reply to message #78098] Thu, 20 July 2006 18:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tdkoff.gmail.com

Thanks for the prompt reply.

Do I need the WTP plugin to get this to work, because up to this point I
haven't used it.

--TK
Re: Profiling a Weblogic App [message #78143 is a reply to message #78127] Thu, 20 July 2006 19:37 Go to previous messageGo to next message
Valentina Popescu is currently offline Valentina PopescuFriend
Messages: 23
Registered: July 2009
Junior Member
No, you don't need to use WTP to have your application profiled with TPTP.

The steps presented by Eugene covers the scenario when you are using WTP to
work with your application.



To profile without WTP:

- pass this VM argument when you start your server : -XrunpiAgent

Make sure the piAgent.dll is in your path; it is located under
yourAgentControllerInstallPath\bin

- after your server has been started successfully, attach to the agent to
start monitoring the app

Go to Profile > Attach - Java Process configuration and in the Agents tab
select the Java Profiling Agent; use the Monitor tab to set the profiling
options and filters

- once in the Profiling and Logging perspective, select the agent item and
Start Monitoring

- run your app and you should be able to see data coming

Valentina

"Todd Kofford" <tdkoff@gmail.com> wrote in message
news:142b063ae59d6dfaa1e4fd06aa7f0667$1@www.eclipse.org...
> Thanks for the prompt reply.
>
> Do I need the WTP plugin to get this to work, because up to this point I
> haven't used it.
>
> --TK
>
Re: Profiling a Weblogic App [message #78565 is a reply to message #78143] Mon, 24 July 2006 15:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tdkoff.gmail.com

Thanks Valentina,

I followed your directions and it seems that I am collecting profiling
data because the footer (in Eclipse) keeps updating "Processed: xxxx
bytes, bytes/second: xxx, events processed: xxxxx, events/second:, elapsed
time: xxx seconds"

However, I'm not sure how to see my profiling data. When I open the any of
the other "Profiling and Loging" views in Eclipse, I don't see data. For
example, while profiling my web app, I open "Log View" or "Statistical
Graph" and there is nothing there even after a "Refresh".

I must be missing something.

Any suggestions?

Thanks,
TK
Re: Profiling a Weblogic App [message #78605 is a reply to message #78565] Mon, 24 July 2006 15:59 Go to previous message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Todd,

Log View is aimed for CommonBaseEvent data, and Statistical Graph is aimed
for statistical data of system monitoring.

Please try the Execution/Memory/Coverage Statistics view to view your
profiling data, the availability of the various kind of profiling data
depends on the options and filters you had selected in the Monitor tab when
you configure your attach.

Also note that each Analysis Type items listed under Profiling Agent in the
Profiling Monitor view has context menu that allows you to select and open
the view that is applicable to the Analysis Type.

Eugene


"Todd Kofford" <tdkoff@gmail.com> wrote in message
news:20bd9f26f41142688b97804b02a61cd8$1@www.eclipse.org...
> Thanks Valentina,
>
> I followed your directions and it seems that I am collecting profiling
> data because the footer (in Eclipse) keeps updating "Processed: xxxx
> bytes, bytes/second: xxx, events processed: xxxxx, events/second:, elapsed
> time: xxx seconds"
>
> However, I'm not sure how to see my profiling data. When I open the any of
> the other "Profiling and Loging" views in Eclipse, I don't see data. For
> example, while profiling my web app, I open "Log View" or "Statistical
> Graph" and there is nothing there even after a "Refresh".
>
> I must be missing something.
>
> Any suggestions?
>
> Thanks,
> TK
>
Previous Topic:Collecting mesurments Perfmon
Next Topic:Import large .trcxml file never ends
Goto Forum:
  


Current Time: Tue Apr 16 20:11:58 GMT 2024

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

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

Back to the top