Error to start my first profiling project at a Linux box [message #134521] |
Wed, 20 August 2008 23:10 |
Jan Yan Messages: 7 Registered: July 2009 |
Junior Member |
|
|
Hello,
This is my first try of Eclipse TPTP. I followed the instruction from
http://www.eclipse.org/tptp/home/downloads/4.5.0/documents/q uicktour/quick_tour.html.
The only thing I changed from the tutorial is to use Tomcat 6.0 instead of
5.5. The error I got when I click Profile As -> Profile On Server,
[Error: EC module (JPIAgent) loading failed]
Error occurred during initialization of VM
agent library failed to init: JPIBootLoader
I am using Eclipse 3.4, Eclipse TPTP 4.5.0, Tomcat 6, JRE 1.5.0_15. My box
is Ubuntu 8.04, Kernel Linux 2.6.24-16-generic.
I also tried some suggestions from the thread,
( http://dev.eclipse.org/newslists/news.eclipse.tptp/msg04010. html), adding
" -agentlib:JPIBootLoader=JPIAgent:server=enabled;HeapProf:all ocsites=true "
to the Tomcat VM arguments. But it doesn't help. Then I tried to use the
Monitor of "Java profiling -pre JRE 1.5". The error I got was:
Error occurred during initialization of VM
Could not find agent library on the library path or in the local
directory: piAgent
I am wondering how to start the profiling from the Eclipse workbench. And
because I am running on the Linux box, what the environment I need to set?
Thank you.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03201 seconds