Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Error to start my first profiling project at a Linux box
Error to start my first profiling project at a Linux box [message #134521] Wed, 20 August 2008 23:10 Go to next message
Jan Yan is currently offline Jan YanFriend
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.
Re: Error to start my first profiling project at a Linux box [message #134538 is a reply to message #134521] Wed, 20 August 2008 23:25 Go to previous messageGo to next message
Jan Yan is currently offline Jan YanFriend
Messages: 7
Registered: July 2009
Junior Member
I just tried setting the environment according to:
http://www.eclipse.org/newsportal/article.php?id=6549&gr oup=eclipse.tptp#6549.
My Linux box is 64 bit, however, 64 bit Eclipse is crashing like every 5
minutes. So I downloaded 32 bit Eclipse and run it using 32 bit JVM. Under
such case, I don't know which library to set, ac.linux_em64t_4.4.1.XXX or
ac.linux_ia32_4.4.4.XXX?

Thank you very much.
Re: Error to start my first profiling project at a Linux box [message #134621 is a reply to message #134538] Thu, 21 August 2008 10:49 Go to previous message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Jan wrote:
> I just tried setting the environment according to:
> http://www.eclipse.org/newsportal/article.php?id=6549&gr oup=eclipse.tptp#6549.
> My Linux box is 64 bit, however, 64 bit Eclipse is crashing like every 5
> minutes. So I downloaded 32 bit Eclipse and run it using 32 bit JVM.
> Under such case, I don't know which library to set,
> ac.linux_em64t_4.4.1.XXX or ac.linux_ia32_4.4.4.XXX?
>
> Thank you very much.
>
When using a 32-bit JVM, you need to use the 32-bit Agent Controller and
Profiler libraries. The profiler libraries are loaded into the JVM
process space, and it is not possible to mix-and-match 32 bit and 64 bit
libraries in the same process.

HTH,
Asaf


--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:**** Build of configuration (Exec error:Launching failed) in Standard Mode
Next Topic:How to RUN TPTP without RAD with Commandline?
Goto Forum:
  


Current Time: Tue Apr 23 09:00:39 GMT 2024

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

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

Back to the top