Sorry, my reply escaped from my mailbox
before it was finished. :-) Let's try again:
On Thursday, 09/30/2004 at 11:11 MST,
"Atul Wagle" <awagle@xxxxxxxxxxx> wrote:
>
I m running JBoss 3.2.5 on win xp-pro and I have my ear file which
> contains 4 wars deployed on this server.
>
>
Can someone explain approach I should take to profile this app ?
I can't speak to exactly what you might
need to do for JBoss, but I think I can point you in the right general
direction.
I assume you're launching JBoss independent of the workbench. Take a look
at the section of the help entitled "Profiling an application in standalone
mode". You will want to modify the app server startup to include -XrunpiAgent
on the server's java command line, possibly with one or more of the options
described on this page of the help. You probably wanted "enabled"
mode, but it depends on your usage model.
Then, in the workbench, you'll want
to attach to the app server and start monitoring, as described in "Launching
or Attaching to an application for Profiling".
There's a lot of hand waving here, a
lot left as an exercise for the reader. Perhaps someone who has tried this
can give you more explicit directions. Meanwhile, I hope this helps you
get started.
-Kim
Kim Coleman
PurifyPlus Development
IBM Rational Software, Cupertino, CA
kcoleman@xxxxxxxxxx