Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Remotely profiling web application on websphere
Remotely profiling web application on websphere [message #111504] Thu, 06 September 2007 09:38 Go to next message
Eclipse UserFriend
Originally posted by: namrata.bobade.gmail.com

Hi ,
I am trying to profile applications remotely using tptp.

On the remote machine i have installed agent controller.
Started setconfig.bat file
Started ACServer.exe
Started the java application.

On local machine,in the profile window,created new configuration for
attach java process.
In the Host tab added new entry with ip address of my remote machine.
Tested the connection. Connection is successful.
In the Agents window i get the pid of the application running on the
remote machine. Selecting it, i can further set the filters and can
successfully profile applications.

But when i want to profile web application running on websphere installed
on remote machine, even if application is running and i am surfing the
pages on remote machine, pid is not available in the local machine
workbench..
Do i need to activate -XrunpiAgent option in JVM arguments..?If yes,
how do i activate it?? or do i need to add any enviornmental variable..?
Some help on How do i profile web application running on remote machine
will be of great help.

Thanks in advance.
Re: Remotely profiling web application on websphere [message #112079 is a reply to message #111504] Sun, 09 September 2007 12:48 Go to previous message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Namrata wrote:
>
> But when i want to profile web application running on websphere
> installed on remote machine, even if application is running and i am
> surfing the pages on remote machine, pid is not available in the local
> machine workbench..
> Do i need to activate -XrunpiAgent option in JVM arguments..?If yes,
> how do i activate it?? or do i need to add any enviornmental variable..?
> Some help on How do i profile web application running on remote machine
> will be of great help.

In order to "remove profile" a web application, the server must be
configured to load the profiling agent during startup. If you work with
Java 1.5 or later, the easiest way to do that is to add the profiling
agent command option (-XrunpiAgent or -agentlib:JPIBootLoader...
depending on your Java version) to the JAVA_TOOL_OPTIONS environment
variable. For Java 1.4, you will have to modify the script that launches
the JVM or find the specific variable/script to modify depending on your
application server (I am not familiar with WebSphere so I cannot provide
you with specific details).

Please refer to the "profiling in standalone mode" in the TPTP online
help for more information and specific command line options you can use.

HTH,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:remote profile
Next Topic:[Linux] Several issues...
Goto Forum:
  


Current Time: Fri Mar 29 13:52:27 GMT 2024

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

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

Back to the top