Hi, Tony,
It seems that profilers dynamic libraries’ path is not found on your machine 
(Could not find agent library on the library path or in the local directory: 
JPIBootLoader). Please check whether the file JPIBootLoader.dll (and other 
profilers) path has been added into your environmental variable PATH (On Linux 
you can use LD_LIBRARY_PATH).

If you don’t want to add JPIBootLoader.dll path info into PATH, you can use 
absolute path info in your command line as below:
H:\>java �Cagentpath:<Here is your JPIBootLoader.dll 
path>\JPIBootLoader=JPIAgent…

However, -agentpath command just can be used for ‘server=standalone’ mode 
currently. For enabled or controlled mode, -agentpath option will be supported 
after bug 226572<https://bugs.eclipse.org/bugs/show_bug.cgi?id=226572> is fixed 
in this week.

Thanks,
--------------------------------------------------
Chengrui Deng

China Runtime Technologies Lab,
SSG/SSD/MRTC, Intel
--------------------------------------------------

________________________________
From: tptp-tracing-profiling-tools-dev-boun...@eclipse.org 
[mailto:tptp-tracing-profiling-tools-dev-boun...@eclipse.org] On Behalf Of Tony 
Anecito
Sent: 2009年3月11日 6:53
To: TPTP Tracing and Profiling Tools Project developer discussions; Eugene Chan
Cc: tptp-tracing-profiling-tools-dev-boun...@eclipse.org
Subject: Re: [tptp-tracing-profiling-tools-dev] Profileing a running App 
Server....

Still working on but I wanted to launch the agent but not have it attach to any 
app and select the app I want to attach to from Eclipse. Is that possible?

Also getting the following error when launching the agent:
H:\>java -agentlib:JPIBootLoader=JPIAgent
Error occurred during initialization of VM
Could not find agent library on the library path or in the local directory: JPIB
ootLoader

Thanks,
-Tony

--- On Tue, 3/10/09, Tony Anecito <adanec...@yahoo.com> wrote:
From: Tony Anecito <adanec...@yahoo.com>
Subject: Re: [tptp-tracing-profiling-tools-dev] Profileing a running App 
Server....
To: "TPTP Tracing and Profiling Tools Project developer discussions" 
<tptp-tracing-profiling-tools-dev@eclipse.org>, "Eugene Chan" 
<ewc...@ca.ibm.com>
Cc: tptp-tracing-profiling-tools-dev-boun...@eclipse.org
Date: Tuesday, March 10, 2009, 4:26 PM
Thanks Eugene I will give it a try. I thought the latest TPTP if running an app 
local you wanted to profile did not require the Agent?

-Tony

--- On Tue, 3/10/09, Eugene Chan <ewc...@ca.ibm.com> wrote:
From: Eugene Chan <ewc...@ca.ibm.com>
Subject: Re: [tptp-tracing-profiling-tools-dev] Profileing a running App 
Server....
To: adanec...@yahoo.com, "TPTP Tracing and Profiling Tools Project developer 
discussions" <tptp-tracing-profiling-tools-dev@eclipse.org>
Cc: "TPTP Profiling" <tptp-tracing-profiling-tools-dev@eclipse.org>, 
tptp-tracing-profiling-tools-dev-boun...@eclipse.org
Date: Tuesday, March 10, 2009, 4:20 PM

Hi Tony,

You can start the server process with a TPTP profiling agent and attach to the 
agent from an Eclipse workbench using the Attach-Java Process launch 
configuration to monitor and profile.
Detail on how to start a process with a profiling agent can be found here 
<http://dev.eclipse.org/viewcvs/index.cgi/platform/org.eclipse.tptp.platform.agentcontroller/src-native-new/packaging_md/windows/getting_started.html?root=TPTP_Project&view=co#Java_15>
 [1].
and step on attaching to the process can be found here 
<http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.tptp.platform.doc.user/tasks/teprlaun.htm>
 [2].

[1] 
http://dev.eclipse.org/viewcvs/index.cgi/platform/org.eclipse.tptp.platform.agentcontroller/src-native-new/packaging_md/windows/getting_started.html?root=TPTP_Project&view=co#Java_15
[2] 
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.tptp.platform.doc.user/tasks/teprlaun.htm

Regards,
____________________________________________

Eugene Chan
IBM Toronto Laboratory, Canada


[cid:_1_09F6139809F60FB0007AA02E85257575]

[tptp-tracing-profiling-tools-dev] Profileing a running App        Server....


Tony Anecito

to:

TPTP Profiling

03/10/2009 06:13 PM


Sent by:

tptp-tracing-profiling-tools-dev-boun...@eclipse.org


Please respond to adanecito, TPTP Tracing and Profiling Tools Project developer 
discussions





________________________________




Hi All,

I want to use TPTP for profiling an app running inside of weblogic. Problem is 
it looks as if Eclipse only profiles an app running as an client side app.
Is there any instructions somewhere about using TPTP in Eclipse to profile a 
running app inside an app server?

I am using Eclipse 2.4.4 using TPTP 4.5.2 under windows XP Prof SP2

Thanks,
-Tony



_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev



_______________________________________________

tptp-tracing-profiling-tools-dev mailing list

tptp-tracing-profiling-tools-dev@eclipse.org

https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev


_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to