[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.hyades] Re: Profilling enterprise app in websphere 5.1
|
Hi Steve
It should work with both Hyades controller and IBM Agent Controller.
To enable the J2EE Request Profiler you can either use WebSphere Application
Studio Developer and launch Websphere in Profile mode or add
"-DPD_DT_ENABLED=true" to the process:Server -> processDefinition ->
jvmEntries.genericJvmArguments in
AppServer\config\cells\<your_cell>\nodes\<your_node>\servers\<your_server>\s
erver.xml file and restart the server.
You could also profile Websphere 5.x using the Java Profiler (JVMPI based)
by adding "-XrunPiAgent" to the above attribute and restart the server.
Thanks,
Marius
"Steve Hansen" <bird8088@xxxxxxxxxxx> wrote in message
news:cmuc7j$ool$1@xxxxxxxxxxxxxx
> Marius,
>
> Could you please give some additional notes on setting up the two
> profiling options below:
>
> Marius Slavescu wrote:
>
> > There are two ways of profiling J2EE applications using Hyades:
> > - only on Websphere you can enable "J2EE Request Profiler" (this runtime
> > component comes with Websphere) and then attach to it.
>
> IBM documents I've read do not detail how to set this up. I How do I set
> up the "J2EE Request Profiler"? Does it work with the Hydes controler
> or the IBM Agent Controler? The WebSphere Application developer docs
> mentions this in the context of starting WAS with Profile option
> (everything on the workstation)
> I would like to attach to WAS running on a remote server.
>
> > - on any Java application (including web application servers like
WebSphere)
> > you can enable the Hyades JVMPI Profiler by passing the -XrunPIagent
> > argument to the JVM that runs the application (check
> >
http://dev.eclipse.org/viewcvs/indextools.cgi/~checkout~/hyades-home/docs/profilingtool/profilingexample.html
> > for more info) and then attach to it.
> >
> What would be the <class> you would pass in:
> -XrunpiAgent:server=enabled <class>
>
> Thanks
> Steve Hansen