Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Could not find agent library in absolute path:(Problem while loading agent)
icon9.gif  Could not find agent library in absolute path: [message #630480] Sun, 03 October 2010 03:21 Go to next message
Manish Kumar Singh is currently offline Manish Kumar Singh
Messages: 1
Registered: October 2010
Junior Member
runTest.sh

JAVA_HOME="/usr/java1.5.0_12/bin/java"
AGENT_HOME="/manish/tptp"
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$AGENT_HOME/lib"

PATH="$JAVA_HOME/bin:$AGENT_HOME/bin:$LD_LIBRARY_PATH:$PATH "
JAVA_OPTS="$JAVA_OPTS -agentpath:/manish/tptp/plugins/org.eclipse.tptp.javaprofile r/libJPIBootLoader.so=JPIAgent:server=standalone "

java $JAVA_OPTS -classpath . test


./runTest.sh

Error occurred during initialization of VM
Could not find agent library in absolute path: /manish/tptp/plugins/org.eclipse.tptp.javaprofiler/libJPIBoo tLoader.so



------------------------------------------------------
java
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
------------------------------------------------------
tptp version
agntctrl.linux_ia32-TPTP-4.7.1a.zip
------------------------------------------------------
Machine
Solaris , sun4v SUNW,T5440
------------------------------------------------------


can someone please tell me whr i m wrong?

thanx

-manish
Re: Could not find agent library in absolute path: [message #630620 is a reply to message #630480] Mon, 04 October 2010 08:07 Go to previous messageGo to next message
Mikael Petterson is currently offline Mikael Petterson
Messages: 151
Registered: July 2009
Senior Member
Hi,

I am using jdk 1.6.0_13 and I have the same problem.

Error occurred during initialization of VM
Could not find agent library on the library path or in the local directory: /home/eraonel/pub/eclipse-java-helios-linux-gtk/eclipse/plug ins/org.eclipse.tptp.platform.jvmti.runtime_4.6.1.v201009131 917/agent_files/linux_ia32/libJPIBootLoader.so

br,

//mikael
Re: Could not find agent library in absolute path: [message #633786 is a reply to message #630480] Tue, 19 October 2010 09:03 Go to previous message
Jonathan West is currently offline Jonathan West
Messages: 49
Registered: July 2009
Member
Hi Manish, it looks like you are using Solaris? Solaris is not a supported platform for TPTP profiling.
Previous Topic:Profile using TPTP from command line
Next Topic:TPTP Beginner
Goto Forum:
  


Current Time: Fri Aug 22 06:06:41 EDT 2014

Powered by FUDForum. Page generated in 0.01785 seconds